diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 09:27:06 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 09:27:06 (GMT) |
commit | 5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3 (patch) | |
tree | 48d4a3f45af918d461fa46ed3015e6ff652f61cb /Lib/test/test_threading.py | |
parent | 7ece150395f9908870c3baa883e465ec9fe4dd9c (diff) | |
download | cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.zip cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.tar.gz cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.tar.bz2 |
Avoid deprecation warnings.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r-- | Lib/test/test_threading.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 00b8d19..44f2c57 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -797,7 +797,7 @@ class ThreadingExceptionTests(BaseTestCase): running = True while running: time.sleep(0.01) - 1/0 + 1.0/0.0 t = threading.Thread(target=run) t.start() while not running: @@ -824,7 +824,7 @@ class ThreadingExceptionTests(BaseTestCase): running = True while running: time.sleep(0.01) - 1/0 + 1.0/0.0 t = threading.Thread(target=run) t.start() while not running: @@ -852,7 +852,7 @@ class ThreadingExceptionTests(BaseTestCase): running = True while running: time.sleep(0.01) - 1/0 + 1.0/0.0 sys.stderr = None t = threading.Thread(target=run) t.start() |