[Python-checkins] r84771 - python/branches/release27-maint/Lib/test/test_io.py
florent.xicluna
python-checkins at python.org
Mon Sep 13 10:20:19 CEST 2010
Author: florent.xicluna
Date: Mon Sep 13 10:20:19 2010
New Revision: 84771
Log:
Silence warning about 1/0
Modified:
python/branches/release27-maint/Lib/test/test_io.py
Modified: python/branches/release27-maint/Lib/test/test_io.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_io.py (original)
+++ python/branches/release27-maint/Lib/test/test_io.py Mon Sep 13 10:20:19 2010
@@ -2484,7 +2484,7 @@
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):
More information about the Python-checkins
mailing list