Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r75446:2e861a37e530
Date: 2015-01-20 00:57 +0100
http://bitbucket.org/pypy/pypy/changeset/2e861a37e530/

Log:    fix test

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
@@ -43,6 +43,10 @@
         child.sendline('import termios')
         child.expect('>>> ')
         child.sendline('termios.tcgetattr(0)')
+        # output of the first time is ignored: it contains the compilation
+        # of more C stuff relating to errno
+        child.expect('>>> ')
+        child.sendline('termios.tcgetattr(0)')
         child.expect('\[.*?\[.*?\]\]')
         lst = eval(child.match.group(0))
         assert len(lst) == 7
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to