Author: Ronny Pfannschmidt <[email protected]>
Branch: py3ksupport
Changeset: r131:70c2f802c6c2
Date: 2011-10-18 11:13 +0200
http://bitbucket.org/pypy/pyrepl/changeset/70c2f802c6c2/

Log:    test events need to be a 2 tuple

diff --git a/pyrepl/tests/infrastructure.py b/pyrepl/tests/infrastructure.py
--- a/pyrepl/tests/infrastructure.py
+++ b/pyrepl/tests/infrastructure.py
@@ -49,7 +49,7 @@
         ev, sc = self.events.pop(0)
         self.next_screen = sc
         if not isinstance(ev, tuple):
-            ev = (ev,)
+            ev = (ev, None)
         self.last_event_name = ev[0]
         if self.verbose:
             print "event", ev
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to