summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkgimport.py
Commit message (Collapse)AuthorAgeFilesLines
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-2/+1
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* 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-2/+2
|
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+7
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Whitespace normalization.Tim Peters2001-08-091-1/+1
|
* This test failed under python -O.Tim Peters2001-08-021-3/+7
| | | | | rewrite_file(): Delete both .pyc and .pyo leftovers, and explicitly close the new source file after writing to it.
* Unit test for improved package import semantics.Guido van Rossum2001-08-021-0/+74
Original by Alex Coventry (in SF patch #441791), adapted to the standard regression test framework.