From: Florent Xicluna Date: Mon, 13 Sep 2010 08:20:19 +0000 (+0000) Subject: Silence warning about 1/0 X-Git-Tag: v2.7.1rc1~296 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3fa3b001bf53df3aa6cc64eaf35bcf090db6b43e;p=thirdparty%2FPython%2Fcpython.git Silence warning about 1/0 --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 8686f22535f6..d2ad2a6aa728 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):