Guido van Rossum
e60142f2c1
Adding output of test_xmllib.py
1998-02-13 16:35:21 +00:00
Guido van Rossum
c9aef03af4
Make this test work when imported from the interpreter instead of run
...
from regrtest.py (it still works there too, of course).
1998-01-29 21:53:17 +00:00
Guido van Rossum
02505e4850
New version of xmllib from Sjoerd.
...
The main incompatibility is that the error reporting method is now
called as
parser.syntax_error(msg)
instead of
parser.syntax_error(lineno, msg)
This new version also has some code to deal with the <?xml?> and
<!DOCTYPE> tags at the start of an XML document.
The documentation has been updated, and a small test module has been
created.
1998-01-29 14:55:24 +00:00
Guido van Rossum
f473cb007b
Added tests for qualified sub and split
1998-01-14 16:42:17 +00:00
Guido van Rossum
f5910e42d1
Add tests for re.L(OCALE).
1997-12-30 17:32:33 +00:00
Guido van Rossum
629bcfb8f9
Make this test succeed even when using "import test.test_zlib".
1997-12-18 05:21:07 +00:00
Guido van Rossum
92d91f56a7
Move %x test to nonstandard section because it appears to be locale specific.
1997-12-15 18:06:19 +00:00
Guido van Rossum
30da0ea124
Believe it or not, some people have an empty group database.
...
Prevent the test from failing there.
1997-12-15 14:57:19 +00:00
Guido van Rossum
6a99984e79
Use long() instead of int() to compare mktime(localtime(t) with t...
1997-12-08 21:48:01 +00:00
Guido van Rossum
dfa6790bd6
New re version from AMK
1997-12-08 17:12:06 +00:00
Guido van Rossum
91221c29f2
Support for netbsd1 and freebsd3, after suggestions by Anders Andersen
...
and Jacques Vidrine.
1997-12-02 20:30:29 +00:00
Barry Warsaw
c99a239f42
Added strop.split tests when sep is None.
1997-12-02 00:30:04 +00:00
Barry Warsaw
9181190c76
Added tests of strop.replace()
1997-11-29 00:25:30 +00:00
Guido van Rossum
e2d4dd194b
Use fuzzy comparison from test_support to compare outcome of
...
pow(x,y,z) to pow(x,y)%z.
1997-11-24 22:24:22 +00:00
Guido van Rossum
8e9ebfd337
os2 patch by Jeff Rush
1997-11-22 21:53:48 +00:00
Guido van Rossum
c1189eb524
Separate out a function pystones(loops=LOOPS) which runs the benchmark
...
and returns a (benchtime, stones) tuple. The main() function now
calls this and prints the report. Fred Drake's code.
1997-11-06 15:45:05 +00:00
Guido van Rossum
f849291e2b
Add __init__.py to test package.
1997-11-06 15:41:23 +00:00
Guido van Rossum
e8d113976c
Add empty __init__.py files to the test packages so the new policy
...
will recognize them.
1997-10-31 18:33:41 +00:00
Guido van Rossum
0874f7fdaf
Tests for tokenize.py (Ka-Ping Yee)
1997-10-27 22:15:06 +00:00
Guido van Rossum
4e8ef5fcd3
Catch KeyboardInterrupt separately and propagate it, instead of
...
reporting a "crash".
Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
1997-10-20 23:46:54 +00:00
Guido van Rossum
fb5cef1160
Added separate tests for {}.get().
1997-10-20 20:10:43 +00:00
Barry Warsaw
9b887c7911
Added tests of dict.get()
1997-10-20 17:34:43 +00:00
Guido van Rossum
9ec2ed466b
Change test for re.sub() involving g<...> to use a multi-character
...
identifier. The previous re.py had a bug that wouldn't show up with
single-char identifier...
1997-10-08 04:05:08 +00:00
Guido van Rossum
d2c0ec78d2
Use ... around binary strings.
1997-10-07 21:22:48 +00:00
Guido van Rossum
f1b0009a78
Fix path search for test data file so it works under more circumstances.
1997-10-01 22:10:32 +00:00