- 28 Apr, 2010 8 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
and remove a duplicate of its specification.
-
Senthil Kumaran authored
-
Nick Coghlan authored
-
Nick Coghlan authored
Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed
-
Nick Coghlan authored
-
Nick Coghlan authored
Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro)
-
Jesus Cea authored
-
- 27 Apr, 2010 24 commits
-
-
Victor Stinner authored
* Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads
-
Victor Stinner authored
Use test_support.import_module() instead of import to raise a SkipTest exception if the import fail. Import trace fails if the threading module is missing. See also part 3: test_doctest: import trace module in test_coverage().
-
Victor Stinner authored
Rewrite r80556: the thread test have to be executed just after the test on libc_open() and so the test cannot be splitted in two functions (without duplicating code, and I don't want to duplicate code).
-
Victor Stinner authored
* Skip testcases using threads if threading module is missing * Use "http://" instead of URL in ServerProxyTestCase if threading is missing because URL is not set in this case
-
Victor Stinner authored
TestFifo can be executed without the threading module
-
Victor Stinner authored
* Skip TestPendingCalls if threading module is missing * Test if threading module is present or not, instead of test the presence of _testcapi._test_thread_state
-
Victor Stinner authored
Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing().
-
Benjamin Peterson authored
-
Antoine Pitrou authored
before the certificate footer. Patch by Kyle VanderBeek.
-
Victor Stinner authored
* Split Test.test_open() in 2 functions: test_open() and test_thread_open() * Skip test_open() and test_thread_open() if we are unable to find the C library * Skip test_thread_open() if thread support is disabled * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError()
-
Victor Stinner authored
import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support.
-
Victor Stinner authored
Import trace module fail if the threading module is missing. test_coverage() is only used if test_doctest.py is used with the -c option. This commit allows to execute the test suite without thread support. Move "import trace" in test_coverage() and use test_support.import_module('trace').
-
Victor Stinner authored
-
Victor Stinner authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Antoine Pitrou authored
Sridhar Ratnakumar.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Remove uses of test_support.TestFailed.
-
Antoine Pitrou authored
+ enable test that was never run (!) + make tests faster by lowering polling timeout
-
Antoine Pitrou authored
-
- 26 Apr, 2010 4 commits
-
-
Michael Foord authored
-
R. David Murray authored
Refactors format_string. Includes tests for the two problems noted in the issue, but as far as I can see there are no other tests that confirm that format_string conforms to normal % formatting rules.
-
Antoine Pitrou authored
caused by the "socket not connected" condition.
-
R. David Murray authored
-
- 25 Apr, 2010 4 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
by default as well. This change fixes that by treating -Q like -3 when it comes to DeprecationWarning; using it causes the silencing to not occur. Fixes issue #7319.
-
Antoine Pitrou authored
where the method could block indefinitely if called just before the event loop started running. This also fixes the occasional freezes witnessed in test_httpservers.
-
Antoine Pitrou authored
-