diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
commit | ee8712cda46338d223509cc5751fd36509ad3860 (patch) | |
tree | bb9d363b4276566415457980472001c7e3ec2bed /Lib/test/test_thread.py | |
parent | 6a654814ea3f3a918935762ffdcd33ae98e00278 (diff) | |
download | cpython-git-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz |
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/test_thread.py')
-rw-r--r-- | Lib/test/test_thread.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 01d6655295..cff9f81ff5 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -1,7 +1,7 @@ import os import unittest import random -from test import test_support +from test import support import thread import time @@ -13,7 +13,7 @@ _print_mutex = thread.allocate_lock() def verbose_print(arg): """Helper function for printing out debugging output.""" - if test_support.verbose: + if support.verbose: with _print_mutex: print(arg) @@ -159,7 +159,7 @@ class BarrierTest(BasicThreadTest): self.done_mutex.release() def test_main(): - test_support.run_unittest(ThreadRunningTests, BarrierTest) + support.run_unittest(ThreadRunningTests, BarrierTest) if __name__ == "__main__": test_main() |