summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Adding output of test_xmllib.pyGuido van Rossum1998-02-131-0/+1
|
* Make this test work when imported from the interpreter instead of runGuido van Rossum1998-01-291-1/+6
| | | | from regrtest.py (it still works there too, of course).
* New version of xmllib from Sjoerd.Guido van Rossum1998-01-291-0/+25
| | | | | | | | | | | | | 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.
* Added tests for qualified sub and splitGuido van Rossum1998-01-141-0/+15
|
* Add tests for re.L(OCALE).Guido van Rossum1997-12-301-1/+7
|
* Make this test succeed even when using "import test.test_zlib".Guido van Rossum1997-12-181-2/+5
|
* Move %x test to nonstandard section because it appears to be locale specific.Guido van Rossum1997-12-151-2/+3
|
* Believe it or not, some people have an empty group database.Guido van Rossum1997-12-151-7/+10
| | | | Prevent the test from failing there.
* Use long() instead of int() to compare mktime(localtime(t) with t...Guido van Rossum1997-12-081-1/+1
|
* New re version from AMKGuido van Rossum1997-12-082-19/+108
|
* Support for netbsd1 and freebsd3, after suggestions by Anders AndersenGuido van Rossum1997-12-021-2/+7
| | | | and Jacques Vidrine.
* Added strop.split tests when sep is None.Barry Warsaw1997-12-021-0/+6
|
* Added tests of strop.replace()Barry Warsaw1997-11-291-0/+9
|
* Use fuzzy comparison from test_support to compare outcome ofGuido van Rossum1997-11-241-1/+4
| | | | pow(x,y,z) to pow(x,y)%z.
* os2 patch by Jeff RushGuido van Rossum1997-11-222-4/+3
|
* Separate out a function pystones(loops=LOOPS) which runs the benchmarkGuido van Rossum1997-11-061-8/+12
| | | | | and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code.
* Add __init__.py to test package.Guido van Rossum1997-11-061-0/+1
|
* Add empty __init__.py files to the test packages so the new policyGuido van Rossum1997-10-311-1/+4
| | | | will recognize them.
* Tests for tokenize.py (Ka-Ping Yee)Guido van Rossum1997-10-273-0/+775
|
* Catch KeyboardInterrupt separately and propagate it, instead ofGuido van Rossum1997-10-201-1/+4
| | | | | | reporting a "crash". Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
* Added separate tests for {}.get().Guido van Rossum1997-10-201-0/+3
|
* Added tests of dict.get()Barry Warsaw1997-10-201-0/+6
|
* Change test for re.sub() involving g<...> to use a multi-characterGuido van Rossum1997-10-081-1/+1
| | | | | identifier. The previous re.py had a bug that wouldn't show up with single-char identifier...
* Use `...` around binary strings.Guido van Rossum1997-10-071-1/+1
|
* Fix path search for test data file so it works under more circumstances.Guido van Rossum1997-10-011-1/+6
|
* There was actually a test that ensured that raising an exception AGuido van Rossum1997-10-011-3/+2
| | | | | | | with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
* Fixed test for socket.error to work when it's a class exception.Guido van Rossum1997-10-011-1/+2
|
* Added test for __all__.Guido van Rossum1997-09-082-0/+22
|
* Look for uuencoded test files in the directory containing this module, too.Guido van Rossum1997-09-071-2/+6
| | | | | (This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.)
* Look for uuencoded test files in the directory containing this module, too.Guido van Rossum1997-09-071-1/+2
| | | | | (This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.)
* Pass optional arguments (globals(), locals(), []) to __import__() soGuido van Rossum1997-09-071-1/+1
| | | | | | | it will run as package test, e.g. this will run the test suite: import test.regrtest test.regrtest.main()
* Fix details in the test:Guido van Rossum1997-09-071-3/+13
| | | | | | - traceback should go to stdout! - don't import ni, import t1! - nicer support for command line options, only if run as __main__
* Added feeble test for reload() of packages and submodules.Guido van Rossum1997-09-062-0/+5
|
* Test set for package import.Guido van Rossum1997-09-062-0/+212
|
* Now produces some reassuring output.Jeremy Hylton1997-09-041-0/+9
|
* Many more tests, including tests of many optional arguments.Jeremy Hylton1997-09-041-0/+47
|
* The re test suite is very slow on slower hosts.Guido van Rossum1997-09-041-0/+3
| | | | To save time, only run the first and last 10 tests except in verbose mode.
* Expanded r() function to handle class exceptions.Barry Warsaw1997-08-291-1/+6
|
* regression test for new sequence unpacking semanticsBarry Warsaw1997-08-251-0/+131
|
* Output for sequence unpacking testBarry Warsaw1997-08-251-0/+1
|
* Added a few more tests of exception class raisingBarry Warsaw1997-08-221-0/+8
|
* generated output for new testsBarry Warsaw1997-08-221-0/+2
|
* Added tests of the new builtin functions issubclass() and isinstance()Barry Warsaw1997-08-221-0/+36
|
* Change default verbosity so that there are only three levels left: -q,Guido van Rossum1997-08-181-12/+15
| | | | | | default and -v. In default mode, the name of each test is printed. -v is the same as the old -vv. -q is more quiet than the old default mode; that's fine I think.
* Tweaks to cope with strftime returning 0 without error for %ZGuido van Rossum1997-08-182-3/+6
|
* Forgot to check in the fixed output for printGuido van Rossum1997-08-181-1/+1
|
* Oops. Of course, print b should also be print `b`. :-(Guido van Rossum1997-08-181-1/+1
|
* Use imp.find_module() as the most certain way to find the test data.Guido van Rossum1997-08-151-1/+5
|
* generated by regrtest.py -gJeremy Hylton1997-08-151-0/+1
|
* test the zlib moduleJeremy Hylton1997-08-151-0/+94
| | | | only produce output if somethign goes wrong