From 16349359a87f3cd4a794da7ccc1ca596bc708f8e Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 25 Feb 2015 23:04:26 -0500 Subject: [PATCH 1/2] style tweaks --- jsonselect/jsonselect.py | 1 - tests/stop_test.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jsonselect/jsonselect.py b/jsonselect/jsonselect.py index e03c6ba..9a71de8 100644 --- a/jsonselect/jsonselect.py +++ b/jsonselect/jsonselect.py @@ -37,7 +37,6 @@ if PY3: stringtype=str - def iteritems(d): return d.items() diff --git a/tests/stop_test.py b/tests/stop_test.py index 18e2516..c25d2fa 100644 --- a/tests/stop_test.py +++ b/tests/stop_test.py @@ -18,7 +18,7 @@ def test_abort(): def test_ignore_subtree(): - obj=OrderedDict([('foo',[1,2,3]), ('bar', [4, 5, 6] ) ]) + obj = OrderedDict([('foo', [1, 2, 3]), ('bar', [4, 5, 6] ) ]) out = [] def bail(obj, matches): From 14dd04fabfc9d7a3518847946ead59a0a6ee2445 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 25 Feb 2015 23:04:33 -0500 Subject: [PATCH 2/2] run python3.4 on travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d41afd1..b8c5696 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python python: - "2.7" + - "3.4" script: nosetests