summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
Commit message (Collapse)AuthorAgeFilesLines
* 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. :)
* Got rid of special case for Macintosh realloc slowdown: Tim fixed the problem.Jack Jansen2002-07-081-2/+1
|
* Disable the test for importing very long lists for MacPython: it triggersJack Jansen2002-06-201-1/+2
| | | | | an out-of-memory condition (and a hang on OSX). Filed a bug report (#571845) to make sure this is eventually fixed.
* test_module_with_large_stack(): This failed when Python was run with -O,Tim Peters2002-06-151-2/+5
| | | | | trying to delete a .pyc file that didn't exist (it needed to delete .pyo then).
* test_module_with_large_stack(): This failed on Windows, for the wrongTim Peters2002-06-151-1/+1
| | | | reason <wink>: can't unlink an open file on Windows.
* Fix SF bug # 561858 Assertion with very long listsNeal Norwitz2002-06-141-0/+31
| | | | | Write 4 bytes for co_stacksize, etc. to prevent writing out bad .pyc files which can cause a crash when read back in.
* Verify that the imp can find and load .py files.Jeremy Hylton2002-05-301-0/+5
|
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-3/+3
|
* Rip the import repr truncation test out of here and put it in test_repr.pyBarry Warsaw2001-08-241-35/+0
|
* Added a test for module repr truncation when the package name isBarry Warsaw2001-08-161-0/+35
| | | | really long. Closes SF bug #437984.
* Derived from SF patch #446899 Permit import of .pyw under Windows, fromTim Peters2001-08-041-39/+46
| | | | David Bolen.
* s/endswith/startswith/Tim Peters2001-08-011-1/+1
|
* Rewritten version of Finn Bock's SF patch #446907 (Allow jython toTim Peters2001-08-011-1/+4
| | | | complete test_import).
* SF bug #422177: Results from .pyc differs from .pyTim Peters2001-05-081-0/+3
| | | | | | | | Store floats and doubles to full precision in marshal. Test that floats read from .pyc/.pyo closely match those read from .py. Declare PyFloat_AsString() in floatobject header file. Add new PyFloat_AsReprString() API function. Document the functions declared in floatobject.h.
* Addrf simple test that import is case-sensitive.Tim Peters2001-03-211-1/+10
|
* Insert the current directory to the front of sys.path -- and remove itGuido van Rossum2000-10-241-0/+5
| | | | | | | | at the end. This fixes a problem where python Lib/test/test_import.py failed while "make test" succeeded.
* Adding Jeremy's new test_import (SF patch 101709).Tim Peters2000-10-061-0/+44