summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-09-13 08:20:19 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-09-13 08:20:19 +0000
commit3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e (patch)
treebdffa94edfc511a57232f9dc50adbbc243cdbda0
parent7968f26bcbad2ffc83e27afd4c165feb9f556aa4 (diff)
downloadcpython-git-3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e.tar.gz
Silence warning about 1/0
-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):