Author: Ronny Pfannschmidt <[email protected]>
Branch: py3ksupport
Changeset: r138:a4b000ce4256
Date: 2011-10-19 09:21 +0200
http://bitbucket.org/pypy/pyrepl/changeset/a4b000ce4256/
Log: import/whitespace cleanup in testing infrastructure
diff --git a/testing/infrastructure.py b/testing/infrastructure.py
--- a/testing/infrastructure.py
+++ b/testing/infrastructure.py
@@ -19,8 +19,6 @@
from pyrepl.reader import Reader
from pyrepl.console import Console, Event
-import unittest
-import sys
class EqualsAnything(object):
def __eq__(self, other):
@@ -53,8 +51,10 @@
return Event(*ev)
class TestReader(Reader):
+
def get_prompt(self, lineno, cursor_on_line):
return ''
+
def refresh(self):
Reader.refresh(self)
self.dirty = True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit