Author: Ronny Pfannschmidt <[email protected]>
Branch: codecheck-clean
Changeset: r210:31da5c045587
Date: 2013-01-14 21:59 +0100
http://bitbucket.org/pypy/pyrepl/changeset/31da5c045587/

Log:    make the tests pass codechecks

diff --git a/testing/test_unix_reader.py b/testing/test_unix_reader.py
--- a/testing/test_unix_reader.py
+++ b/testing/test_unix_reader.py
@@ -1,9 +1,6 @@
 from __future__ import unicode_literals
 from pyrepl.unix_eventqueue import EncodedQueue
 
-from pyrepl import curses
-
-
 def test_simple():
     q = EncodedQueue({}, 'utf-8')
 
diff --git a/testing/test_wishes.py b/testing/test_wishes.py
--- a/testing/test_wishes.py
+++ b/testing/test_wishes.py
@@ -24,8 +24,8 @@
 
 
 def test_quoted_insert_repeat():
-   read_spec([(('digit-arg', '3'),      ['']),
-              (('quoted-insert', None), ['']),
-              (('self-insert', '\033'), ['^[^[^[']),
-              (('accept', None),        None)])
-
+    read_spec([
+        (('digit-arg', '3'),      ['']),
+        (('quoted-insert', None), ['']),
+        (('self-insert', '\033'), ['^[^[^[']),
+        (('accept', None),        None)])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to