diff options
Diffstat (limited to 'Lib/test/test_dummy_threading.py')
-rw-r--r-- | Lib/test/test_dummy_threading.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_dummy_threading.py b/Lib/test/test_dummy_threading.py index e377230ef5..3724f1e5a4 100644 --- a/Lib/test/test_dummy_threading.py +++ b/Lib/test/test_dummy_threading.py @@ -12,7 +12,10 @@ class TestThread(_threading.Thread): def run(self): global running - delay = random.random() * 2 + # Uncomment if testing another module, such as the real 'threading' + # module. + #delay = random.random() * 2 + delay = 0 if verbose: print 'task', self.getName(), 'will run for', delay, 'sec' sema.acquire() |