[pypy-commit] pyrepl py3ksupport: test events need to be a 2 tuple
RonnyPfannschmidt
noreply at buildbot.pypy.org
Wed Oct 19 10:44:43 CEST 2011
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
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
More information about the pypy-commit
mailing list