Commit 4c41f840 authored by Victor Stinner's avatar Victor Stinner

test_io: make quiet the DeprecationWarning('classic int division')

parent 42dcc679
......@@ -2612,7 +2612,7 @@ class SignalsTest(unittest.TestCase):
def on_alarm(*args):
# Will be called reentrantly from the same thread
wio.write(data)
1/0
1//0
signal.signal(signal.SIGALRM, on_alarm)
r, w = os.pipe()
wio = self.io.open(w, **fdopen_kwargs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment