diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 13:29:26 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 13:29:26 +0200 |
commit | 4c41f84033ed257b3ef6586acd12ff87d00fa323 (patch) | |
tree | d887e9b3c221745b57439f9085f6aa09e0a1162c | |
parent | 42dcc679c2a6d434651c8a03f3a5a3bf0c62841b (diff) | |
download | cpython-git-4c41f84033ed257b3ef6586acd12ff87d00fa323.tar.gz |
test_io: make quiet the DeprecationWarning('classic int division')
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index d9705e7405..0bc5800b33 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -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) |