Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cPickle: exempt two_tuple from GC -- it's a speed hack, and doesn't | Tim Peters | 2003-02-04 | 1 | -22/+2 |
| | | | | | | | | | | | | guarantee to keep valid pointers in its slots. tests: Moved ExtensionSaver from test_copy_reg into pickletester, and use it both places. Once extension codes get assigned, it won't be safe to overwrite them willy nilly in test suites, and ExtensionSaver does a thorough job of undoing any possible damage. Beefed up the EXT[124] tests a bit, to check the smallest and largest codes in each opcode's range too. | ||||
* | Added basic tests of copy_reg's extension registry. | Tim Peters | 2003-02-04 | 1 | -0/+78 |
| | |||||
* | Test that True can be copied. | Martin v. Löwis | 2003-01-26 | 1 | -0/+4 |
| | |||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -1/+6 |
| | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
* | Convert copy_reg test to PyUnit. | Fred Drake | 2001-05-22 | 1 | -29/+19 |
| | |||||
* | Test the exception-raising for error cases in copy_reg. | Fred Drake | 2000-10-11 | 1 | -0/+35 |