diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-04 23:36:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 23:36:05 (GMT) |
commit | 069306312addf87252e2dbf250fc7632fc8b7da3 (patch) | |
tree | 92917032b65208b37ce8aeca6011d3eea30ce205 /Lib/test/test_pty.py | |
parent | e1b0287c0440399e8cc855897113614fa5f6bc96 (diff) | |
download | cpython-069306312addf87252e2dbf250fc7632fc8b7da3.zip cpython-069306312addf87252e2dbf250fc7632fc8b7da3.tar.gz cpython-069306312addf87252e2dbf250fc7632fc8b7da3.tar.bz2 |
remove IRIX support (closes bpo-31341) (#3310)
See PEP 11.
Diffstat (limited to 'Lib/test/test_pty.py')
-rw-r--r-- | Lib/test/test_pty.py | 13 |
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') |