summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mailbox.py
Commit message (Collapse)AuthorAgeFilesLines
* added test for bug #996359.Skip Montanaro2004-07-241-3/+18
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-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. :)
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-1/+1
|
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* The test used int(time.time()) to get a random number, but this doesn't work ↵Jack Jansen2001-06-191-1/+1
| | | | on the mac (where times are bigger than ints). Changed to int(time.time()%1000000).
* create_message(): When os.link() doesn't exist, make a copy of the msgTim Peters2001-05-221-1/+6
| | | | instead. Allows this test to finish on Windows again.
* Re-write the mailbox test suite to use PyUnit. Cover a lot more groundFred Drake2001-05-211-21/+81
| | | | | for the Maildir mailbox format. This still does not address other mailbox formats.
* Some other tests, when failing, don't always remove their TESTFN file.Guido van Rossum2001-04-101-0/+6
| | | | Try to do it for them, so our mkdir() operation doesn't fail.
* When catching errors from os.rmdir(), test for os.error, not IOError!Guido van Rossum2001-03-021-3/+3
|
* Added test for regression on SourceForge bug #117490.Fred Drake2000-10-231-0/+28