summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py6
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()