| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
failure in name resolution.
Should fix a buildbot failure.
|
| |
|
|
| |
Replace support by test_support, and add captured_stderr() function.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
modules can not be imported.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87861 | antoine.pitrou | 2011-01-08 11:23:29 +0100 (sam., 08 janv. 2011) | 3 lines
Fix test_ssl after r87849
........
r87863 | antoine.pitrou | 2011-01-08 11:28:11 +0100 (sam., 08 janv. 2011) | 3 lines
Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().
........
|
| |
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87695 | antoine.pitrou | 2011-01-03 19:23:55 +0100 (lun., 03 janv. 2011) | 5 lines
Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
........
|
| |
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85482 | antoine.pitrou | 2010-10-14 17:34:31 +0200 (jeu., 14 oct. 2010) | 4 lines
Replace the "compiler" resource with the more generic "cpu", so
as to mark CPU-heavy tests.
........
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85469 | antoine.pitrou | 2010-10-14 13:12:00 +0200 (jeu., 14 oct. 2010) | 3 lines
Inherit interpreter flags in parallel testing
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83987 | victor.stinner | 2010-08-14 00:23:24 +0200 (sam., 14 août 2010) | 2 lines
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84604 | antoine.pitrou | 2010-09-07 23:43:31 +0200 (mar., 07 sept. 2010) | 3 lines
Also catch some gaierrors
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84597 | antoine.pitrou | 2010-09-07 22:42:19 +0200 (mar., 07 sept. 2010) | 5 lines
Issue #8574: better implementation of test.support.transient_internet().
Original patch by Victor.
........
r84598 | antoine.pitrou | 2010-09-07 23:05:49 +0200 (mar., 07 sept. 2010) | 6 lines
Issue #9792: In case of connection failure, socket.create_connection()
would swallow the exception and raise a new one, making it impossible
to fetch the original errno, or to filter timeout errors. Now the
original error is re-raised.
........
r84599 | antoine.pitrou | 2010-09-07 23:09:09 +0200 (mar., 07 sept. 2010) | 4 lines
Improve transient_internet() again to detect more network errors,
and use it in test_robotparser. Fixes #8574.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line
Set sys.modules[name] to None instead of 0 to block module import.
........
|
| |
|
|
|
|
|
| |
FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because
there's no easy way to conditionally include a context manager in a
with statement. As a side benefit, instead of a stack of context
managers there's now only one.
|
| |
|
|
| |
gaierror(EAI_NODATA)
|
| | |
|
| | |
|
| |
|
|
| |
Add regression tests.
|
| |
|
|
|
|
| |
the local cache.
Use this feature to fix test_normalization.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
|
| | |
|
| |
|
|
| |
to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
|
| | |
|
| |
|
|
| |
calling __import__ directly.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
|
| |
|
|
| |
mode for more information if we are already running in verbose mode.
|
| | |
|
| |
|
|
| |
belongs
|
| |
|
|
| |
capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
regression tests in parallel, shortening the total runtime.
|
| | |
|
| |
|
|
|
| |
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
|
| |
|
|
|
|
|
|
| |
support.EnvironmentVarGuard objects restored the environment variables
incorrectly on __exit__.
Fix this by recording the initial value of each environment variable on the
first access in set() or unset().
|
| |
|
|
| |
test_warnings use case (also fixes some bugs in the original implementation)
|
| |
|
|
| |
of modules, including the ability to block extension modules in order to test the pure Python fallbacks
|
| |
|
|
|
| |
deprecated flag from get_attribute since it isn't likely
to do anything useful.
|
| |
|
|
|
|
|
| |
return the error message produced by importlib, so that if an import
in the package whose import is being wrapped is what failed the skip
message will contain the name of that module instead of the name of the
wrapped module. Also fixed formatting of some previous comments.
|