summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkgimport.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12451: Add support.create_empty_file()Victor Stinner2011-06-301-2/+2
| | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
* Fix #10256 - resource warningBrian Curtin2010-10-301-1/+1
|
* PEP 3147Barry Warsaw2010-04-171-13/+15
|
* use assert[Not]In where appropriateEzio Melotti2010-01-231-3/+3
|
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-1/+1
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-1/+1
|
* 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.