diff options
author | Guido van Rossum <guido@python.org> | 2001-09-04 19:14:14 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-04 19:14:14 +0000 |
commit | 4672e65b7513d0e8e44534742542660300b20714 (patch) | |
tree | e583c3315eb0407d268b97b2020cc7ffbe04bdfa /Lib/test/test_pty.py | |
parent | a62df561fb88c720b9dff33211339b24b1047a40 (diff) | |
download | cpython-4672e65b7513d0e8e44534742542660300b20714.tar.gz |
The first batch of changes recommended by the fixdiv tool. These are
mostly changes of / operators into //. Once or twice I did more or
less than recommended.
Diffstat (limited to 'Lib/test/test_pty.py')
-rw-r--r-- | Lib/test/test_pty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index b119f6275f..7d72b763ef 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py @@ -86,7 +86,7 @@ if pid == pty.CHILD: else: debug("Waiting for child (%d) to finish."%pid) (pid, status) = os.waitpid(pid, 0) - res = status / 256 + res = status >> 8 debug("Child (%d) exited with status %d (%d)."%(pid, res, status)) if res == 1: raise TestFailed, "Child raised an unexpected exception in os.setsid()" |