summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkgimport.py
Commit message (Collapse)AuthorAgeFilesLines
* Raise statement normalization in Lib/test/.Collin Winter2007-08-291-2/+2
|
* Remove RISCOS supportSkip Montanaro2007-08-161-2/+2
|
* Remove string.{letters,lowercase,uppercase}.Martin v. Löwis2007-08-141-2/+2
|
* Get rid of dict.has_key(). Boy this has a lot of repercussions!Guido van Rossum2006-08-181-3/+3
| | | | | | Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet.
* Removed reliance on damaged module object appearing in sys.modulesTim Peters2004-08-021-2/+1
| | | | | | after a failed import. This is the last checkin in the "change import failure semantics" series.
* 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.