Maybe you want to mention *who* warns? Georg
Am 13.09.2010 10:20, schrieb florent.xicluna: > 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): -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com