[pypy-commit] pypy py3k: Fix termios test: the script contains '\000', not the NUL character.
amauryfa
noreply at buildbot.pypy.org
Sat Apr 27 01:27:18 CEST 2013
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
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))
More information about the pypy-commit
mailing list