Author: Ronny Pfannschmidt <[email protected]>
Branch: 
Changeset: r174:136fccdf085e
Date: 2012-05-03 10:25 +0200
http://bitbucket.org/pypy/pyrepl/changeset/136fccdf085e/

Log:    various pep8/pyflakes fixes

diff --git a/testing/test_basic.py b/testing/test_basic.py
--- a/testing/test_basic.py
+++ b/testing/test_basic.py
@@ -17,7 +17,7 @@
 # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 import pytest
-from .infrastructure import read_spec, EA
+from .infrastructure import read_spec
 
 
 def test_basic():
diff --git a/testing/test_keymap.py b/testing/test_keymap.py
--- a/testing/test_keymap.py
+++ b/testing/test_keymap.py
@@ -9,4 +9,4 @@
         b'bc': 'test2',
     })
 
-    assert k == {b'a': 'test', b'b': { b'c': 'test2'}}
+    assert k == {b'a': 'test', b'b': {b'c': 'test2'}}
diff --git a/testing/test_wishes.py b/testing/test_wishes.py
--- a/testing/test_wishes.py
+++ b/testing/test_wishes.py
@@ -17,7 +17,7 @@
 # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-from .infrastructure import EA, read_spec
+from .infrastructure import read_spec
 
 # this test case should contain as-verbatim-as-possible versions of
 # (applicable) feature requests
@@ -25,7 +25,7 @@
 
 def test_quoted_insert_repeat():
    read_spec([(('digit-arg', '3'),      ['']),
-              ( 'quoted-insert',        ['']),
+              (('quoted-insert',),        ['']),
               (('self-insert', '\033'), ['^[^[^[']),
-              ( 'accept',               None)])
+              (('accept',),              None)])
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to