summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pty.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py
index 15f88e4..b6e2ed5 100644
--- a/Lib/test/test_pty.py
+++ b/Lib/test/test_pty.py
@@ -24,12 +24,12 @@ else:
def normalize_output(data):
- # Some operating systems do conversions on newline. We could possibly
- # fix that by doing the appropriate termios.tcsetattr()s. I couldn't
- # figure out the right combo on Tru64 and I don't have an IRIX box.
- # So just normalize the output and doc the problem O/Ses by allowing
- # certain combinations for some platforms, but avoid allowing other
- # differences (like extra whitespace, trailing garbage, etc.)
+ # Some operating systems do conversions on newline. We could possibly fix
+ # that by doing the appropriate termios.tcsetattr()s. I couldn't figure out
+ # the right combo on Tru64. So, just normalize the output and doc the
+ # problem O/Ses by allowing certain combinations for some platforms, but
+ # avoid allowing other differences (like extra whitespace, trailing garbage,
+ # etc.)
# This is about the best we can do without getting some feedback
# from someone more knowledgable.
@@ -38,7 +38,6 @@ def normalize_output(data):
if data.endswith(b'\r\r\n'):
return data.replace(b'\r\r\n', b'\n')
- # IRIX apparently turns \n into \r\n.
if data.endswith(b'\r\n'):
return data.replace(b'\r\n', b'\n')