summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipimport_support.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
|
* Issue14255 Don't flatten case of tempdirTim Golden2013-10-251-2/+4
|
* Merge #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-101-5/+16
|\ | | | | | | | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
| * #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-101-5/+16
| | | | | | | | | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
* | (merge 3.2) Issue #12400: test_zipimport_support doesn't restore originalVictor Stinner2011-06-291-19/+12
|\ \ | |/ | | | | | | | | sys.stdout anymore regrtest doesn't check that a test doesn't output anything anymore.
| * Issue #12400: test_zipimport_support doesn't restore original sys.stdoutVictor Stinner2011-06-291-19/+12
| | | | | | | | | | | | anymore regrtest doesn't check that a test doesn't output anything anymore.
* | Remove a now unneeded tweak to test_zipimport_support in order to notBrett Cannon2011-03-111-5/+0
| | | | | | | | fail under tracing.
* | Issue #10990: Prevent tests from clobbering a set trace function.Brett Cannon2011-02-211-3/+7
|/ | | | | | | | | | | Many tests simply didn't care if they unset a pre-existing trace function. This made test coverage impossible. This patch fixes various tests to put back any pre-existing trace function. It also introduces test.support.no_tracing as a decorator which will temporarily unset the trace function for tests which simply fail otherwise. Thanks to Kristian Vlaardingerbroek for helping to find the cause of various trace function unsets.
* Issue 10971: Make test_zipimport_support once again compatible with refleak ↵Nick Coghlan2011-02-071-48/+54
| | | | hunting (reviewed by Georg Brandl)
* Issue 10556: test_zipimport_support implicitly imports too many modules ↵Nick Coghlan2011-01-111-6/+17
| | | | (including _ssl) to safely clobber sys.modules after each test
* Fix test suite to not activate new sigint behavior in pdb.Georg Brandl2010-12-041-1/+1
|
* test_zipimport_support: use ascii() on bytes output to avoid BytesWarningVictor Stinner2010-10-201-2/+2
| | | | The test failed with python -bb.
* Better Python spawning primitives in test.script_helper, forAntoine Pitrou2010-10-081-7/+7
| | | | easier writing of unit tests and better error reporting.
* Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-3/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
* use assert[Not]In where appropriateBenjamin Peterson2010-01-191-4/+4
| | | | A patch from Dave Malcolm.
* Merged revisions ↵Nick Coghlan2009-11-161-23/+21
| | | | | | | | | | | | | | | | | | | | 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. ........ r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line Account for another cache when hunting ref leaks ........ r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line Allow for backslashes in file paths passed to the regex engine ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-4/+4
|
* Merged revisions 67790 via svnmerge fromNick Coghlan2008-12-151-0/+29
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67790 | nick.coghlan | 2008-12-15 21:41:05 +1000 (Mon, 15 Dec 2008) | 1 line Issue #4197: Fix the remaining part of the doctest-in-zipfile problem by giving linecache access to the module globals when available ........
* Merged revisions 67750-67751 via svnmerge fromNick Coghlan2008-12-141-0/+199
svn+ssh://pythondev@svn.python.org/python/trunk ........ r67750 | nick.coghlan | 2008-12-14 20:54:50 +1000 (Sun, 14 Dec 2008) | 1 line Fix several issues relating to access to source code inside zipfiles. Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details. ........ r67751 | nick.coghlan | 2008-12-14 21:09:40 +1000 (Sun, 14 Dec 2008) | 1 line Add file that was missed from r67750 ........