diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index bd0a2852325..8a83e397860 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py @@ -133,13 +133,13 @@ else: elif res != 4: raise TestFailed, "pty.fork() failed for unknown reasons." - debug("Reading from master_fd now that the child has exited") - try: - s1 = os.read(master_fd, 1024) - except os.error: - pass - else: - raise TestFailed("Read from master_fd did not raise exception") + ##debug("Reading from master_fd now that the child has exited") + ##try: + ## s1 = os.read(master_fd, 1024) + ##except os.error: + ## pass + ##else: + ## raise TestFailed("Read from master_fd did not raise exception") os.close(master_fd)