diff options
| author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-13 08:20:19 (GMT) |
|---|---|---|
| committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-13 08:20:19 (GMT) |
| commit | 3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e (patch) | |
| tree | bdffa94edfc511a57232f9dc50adbbc243cdbda0 /Lib/test/test_io.py | |
| parent | 7968f26bcbad2ffc83e27afd4c165feb9f556aa4 (diff) | |
| download | cpython-3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e.zip cpython-3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e.tar.gz cpython-3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e.tar.bz2 | |
Silence warning about 1/0
Diffstat (limited to 'Lib/test/test_io.py')
| -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 8686f22..d2ad2a6 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): |
