diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-13 08:20:19 +0000 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-13 08:20:19 +0000 |
commit | 3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e (patch) | |
tree | bdffa94edfc511a57232f9dc50adbbc243cdbda0 | |
parent | 7968f26bcbad2ffc83e27afd4c165feb9f556aa4 (diff) | |
download | cpython-git-3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e.tar.gz |
Silence warning about 1/0
-rw-r--r-- | Lib/test/test_io.py | 2 |
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): |