Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r63673:82f1bb404898
Date: 2013-04-27 01:26 +0200
http://bitbucket.org/pypy/pypy/changeset/82f1bb404898/

Log:    Fix termios test: the script contains '\000', not the NUL character.

diff --git a/pypy/module/termios/test/test_termios.py 
b/pypy/module/termios/test/test_termios.py
--- a/pypy/module/termios/test/test_termios.py
+++ b/pypy/module/termios/test/test_termios.py
@@ -82,7 +82,7 @@
         child.expect('ok!')
 
     def test_ioctl_termios(self):
-        source = py.code.Source("""
+        source = py.code.Source(r"""
         import termios
         import fcntl
         lgt = len(fcntl.ioctl(2, termios.TIOCGWINSZ, b'\000'*8))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to