mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Silence warning about 1/0
This commit is contained in:
parent
7968f26bcb
commit
3fa3b001bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue