summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick ↵Jesse Noller2008-09-301-0/+3
| | | | Coghlan, Damien Miller
* now that test_lib2to3 actually works and isn't extremely slow, we don't need ↵Benjamin Peterson2008-07-181-2/+2
| | | | the lib2to3 resource
* Keep below 80 chars.Georg Brandl2008-07-051-2/+2
|
* make regrtest aware of the lib2to3 resourceBenjamin Peterson2008-07-051-1/+3
|
* skip test_macostools when UCS4 is enabledBenjamin Peterson2008-06-191-0/+3
|
* test_macos can be skipped on non-mac platforms.Amaury Forgeot d'Arc2008-06-191-1/+1
|
* Revert copy_reg -> copyreg rename.Georg Brandl2008-05-201-5/+5
|
* Added module stub for copy_reg renaming in 3.0.Alexandre Vassalotti2008-05-111-5/+5
| | | | | | Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact.
* Deprecate the dircache module for 3.0.Brett Cannon2008-05-101-1/+2
|
* Revert bogus checkin in r62724 to that file.Martin v. Löwis2008-05-051-1/+1
|
* Issue #1734346: Support Unicode file names for zipfiles.Martin v. Löwis2008-05-051-1/+1
|
* Some tests did not pass on repeated calls (regrtest -R::)Amaury Forgeot d'Arc2008-04-181-0/+5
| | | | Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
* Correct the apparent refleak in test_io:Amaury Forgeot d'Arc2008-04-021-12/+10
| | | | | | | | | | | | | | | When cls is an ABCMeta, every call to isinstance(x, cls) records type(x) in the cls._abc_cache of cls_abc_negative_cache. So we clear these caches at the end of the test. inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?) isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion. So I used a hack to determine whether a class is an ABCMeta. The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does. But classic classes are not weak referenceable... Of course, this change should not be merged into the py3k branch.
* Now that Lib/test/output is gone, tests should not print anything,Amaury Forgeot d'Arc2008-03-291-63/+19
| | | | | except in verbose mode. Support code is much simpler.
* test_future3.py is a regular test file, and should be part of the test suiteAmaury Forgeot d'Arc2008-03-281-1/+0
|
* Applied patch #1657 epoll and kqueue wrappers for the select moduleChristian Heimes2008-03-211-0/+30
| | | | | The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help. TODO: Finish documentation documentation
* Replace hack in regrtest.py with use of sys.py3kwarning.Steven Bethard2008-03-211-7/+2
|
* Have regrtest skip test_py3kwarn when the -3 flag is missing.Steven Bethard2008-03-181-0/+8
|
* Get regrtest working when re-running testsNeal Norwitz2008-03-181-2/+2
|
* Add a -S/--slow flag to regrtest to have it print the 10 slowest tests withJeffrey Yasskin2008-03-181-19/+35
| | | | their times.
* The output directory for tests that compare against stdout is now gone!Brett Cannon2008-03-181-35/+3
|
* Since abc._Abstract was replaces by a new type flags the regression test ↵Christian Heimes2008-03-031-4/+3
| | | | suite fails. I've added a new function inspect.isabstract(). Is the mmethod fine or should I check if object is a instance of type or subclass of object, too?
* Patch #1953Christian Heimes2008-02-041-1/+1
| | | | | I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers. The patch also renames sys._cleartypecache to sys._clear_type_cache
* Added clear cache methods to clear the internal type lookup cache for ref ↵Christian Heimes2008-01-271-0/+3
| | | | leak test runs.
* Added _struct._clearcache() for regression testsChristian Heimes2008-01-041-0/+1
|
* Fixed refleak tests for _struct changesChristian Heimes2008-01-041-1/+0
|
* Fixed error in regrtest. I must have missed the spot.Christian Heimes2007-12-051-1/+1
|
* Backport of -r59242:59246 from py3kChristian Heimes2007-11-301-2/+6
| | | | Fixed problem with regrtest caused by the additional of objects to _abcoll.
* Backport of _abccoll.py by Benjamin Arangueren, issue 1383.Guido van Rossum2007-11-221-5/+18
| | | | With some changes of my own thrown in (e.g. backport of r58107).
* Correct a comment about testing methods - nowadays mostGeorg Brandl2007-11-091-4/+3
| | | | tests don't run directly on import.
* Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)Hye-Shik Chang2007-10-281-0/+1
|
* More work on SSL support.Bill Janssen2007-09-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Much expanded test suite: All protocols tested against all other protocols. All protocols tested with all certificate options. Tests for bad key and bad cert. Test of STARTTLS functionality. Test of RAND_* functions. * Fixes for threading/malloc bug. * Issue 1065 fixed: sslsocket class renamed to SSLSocket. sslerror class renamed to SSLError. Function "wrap_socket" now used to wrap an existing socket. * Issue 1583946 finally fixed: Support for subjectAltName added. Subject name now returned as proper DN list of RDNs. * SSLError exported from socket as "sslerror". * RAND_* functions properly exported from ssl.py. * Documentation improved: Example of how to create a self-signed certificate. Better indexing.
* Patch #1680959: add test suite for pipes module.Georg Brandl2007-08-301-0/+1
|
* Patch #1731169: clean up expected skips list.Georg Brandl2007-07-121-214/+18
|
* Remove the macfs module. This led to the deprecation of macostools.touched();Brett Cannon2007-05-201-5/+1
| | | | | it completely relied on macfs and is a no-op on OS X according to code comments.
* Remove the rgbimg module. It has been deprecated since Python 2.5.Brett Cannon2007-05-201-1/+5
|
* Don't ever report a failure when the sum of the reference count differencesNeal Norwitz2007-05-111-2/+3
| | | | | | | are zero. This should help reduce the false positives. The message about references leaking is maintained to provide as much info as possible rather than simply suppressing the message at the source.
* Patch #1678088: convert test_operations to use unittest, fold the result ↵Collin Winter2007-03-121-1/+1
| | | | into test_dict.
* Backported r54226 from p3yk: Move test_unittest, test_doctest and ↵Collin Winter2007-03-081-0/+3
| | | | test_doctest2 higher up in the testing order.
* Whoops, how did that get in there. :-) Revert all the parts of 51227 that ↵Neal Norwitz2006-08-121-7/+0
| | | | were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
* Check returned pointer is valid.Neal Norwitz2006-08-121-0/+7
| | | | Klocwork #233
* Concatenation on a long string breaks (SF #1526585).Armin Rigo2006-08-091-1/+3
|
* Patch #1509001: expected skips for netbsd3.Georg Brandl2006-06-211-0/+31
|
* warnings was imported at module scope, no need to import againNeal Norwitz2006-06-111-1/+1
|
* Implementing a happy idea from Georg Brandl: make runtest() try toTim Peters2006-06-091-1/+48
| | | | | | | | | | | | clean up files and directories the tests often leave behind by mistake. This is the first time in history I don't have a bogus "db_home" directory after running the tests ;-) Also worked on runtest's docstring, to say something about all the arguments, and to document the non-obvious return values. New functions runtest_inner() and cleanup_test_droppings() in support of the above.
* Remove the temporary hack to force test_optparse toTim Peters2006-06-091-5/+0
| | | | | | | run immediately after test_file. At least 8 buildbot boxes passed since the underlying problem got fixed, and they all failed before the fix, so there's no point to this anymore.
* To boost morale :-), force test_optparse to run immediatelyTim Peters2006-06-091-0/+5
| | | | | | after test_file until we can figure out how to fix it. (See python-dev; at the moment we don't even know which checkin caused the problem.)
* dash_R_cleanup(): Clear filecmp._cache. This accounts forTim Peters2006-06-071-1/+2
| | | | | different results across -R runs (at least on Windows) of test_filecmp.
* "Flat is better than nested."Tim Peters2006-06-051-59/+73
| | | | | | | | | Move the long-winded, multiply-nested -R support out of runtest() and into some module-level helper functions. This makes runtest() and the -R code easier to follow. That in turn allowed seeing some opportunities for code simplification, and made it obvious that reglog.txt never got closed.
* A clearer error message when passing -R to regrtest.py withArmin Rigo2006-05-281-0/+3
| | | | release builds of Python.