summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 8686f22535..d2ad2a6aa7 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -2484,7 +2484,7 @@ class SignalsTest(unittest.TestCase):
signal.signal(signal.SIGALRM, self.oldalrm)
def alarm_interrupt(self, sig, frame):
- 1/0
+ 1 // 0
@unittest.skipUnless(threading, 'Threading required for this test.')
def check_interrupted_write(self, item, bytes, **fdopen_kwargs):