- 27 Apr, 2010 22 commits
-
-
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 14 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
-
Michael Foord authored
Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Sean Reifscheider authored
openlog() for every logged message.
-