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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4