summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r--Lib/test/test_capi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index c313dcf..4dc3104 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -55,7 +55,7 @@ class TestPendingCalls(unittest.TestCase):
context = foo()
context.l = []
context.n = 2 #submits per thread
- context.nThreads = n // context.n
+ context.nThreads = n / context.n
context.nFinished = 0
context.lock = threading.Lock()
context.event = threading.Event()