summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_frozen.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* In a number of places code still reversRonald Oussoren2010-05-051-7/+6
| | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
* Remove unused imports in test modules.Georg Brandl2010-02-071-1/+1
|
* Remove some from __future__ import with_statementsBenjamin Peterson2008-04-301-1/+0
|
* Some tests did not pass on repeated calls (regrtest -R::)Amaury Forgeot d'Arc2008-04-181-0/+4
| | | | Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
* Add ``if __name__ == '__main__'`` to some test files where it didn't take a lotBrett Cannon2008-04-011-0/+5
| | | | of effort to do so.
* Port test_frozen to unittest.Georg Brandl2007-08-241-23/+36
|
* n the Mac the frozen import that should fail actually succeeds, and we know ↵Jack Jansen2003-01-081-6/+7
| | | | it, so skip the test in stead of confusing the end user.
* [SF bug 631713] use the import exeption message in the TestFailedFinn Bock2002-11-011-3/+3
| | | | exception.
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Fix the frozen bytecode for __hello__ (betcha didn't know that existedGuido van Rossum2001-10-181-0/+26
:-). Add a test that prevents the __hello__ bytecode from going stale unnoticed again. The test also tests the loophole noted in SF bug #404545. This test will fail right now; I'll check in the fix in a minute.