diff options
author | Bob Ippolito <bob@redivi.com> | 2010-10-08 07:43:58 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2010-10-08 07:43:58 +0000 |
commit | ff9cb965faa144b3f221fad0e7f6f09cc91ac30d (patch) | |
tree | 39f2df218302b38f01512b777b135e893f699ad6 | |
parent | ae8a27de9e8daef44d1542ec6425d19119b3ba17 (diff) | |
download | simplejson-ff9cb965faa144b3f221fad0e7f6f09cc91ac30d.tar.gz |
pyflakes fixes
git-svn-id: http://simplejson.googlecode.com/svn/trunk@235 a4795897-2c25-0410-b006-0d3caba88fa1
-rw-r--r-- | simplejson/tests/test_recursion.py | 2 | ||||
-rw-r--r-- | simplejson/tests/test_speedups.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/simplejson/tests/test_recursion.py b/simplejson/tests/test_recursion.py index 97422a6..83a1d88 100644 --- a/simplejson/tests/test_recursion.py +++ b/simplejson/tests/test_recursion.py @@ -53,7 +53,7 @@ class TestRecursion(TestCase): x = {} y = {"a": x, "b": x} # ensure that the marker is cleared - json.dumps(x) + json.dumps(y) def test_defaultrecursion(self): enc = RecursiveJSONEncoder() diff --git a/simplejson/tests/test_speedups.py b/simplejson/tests/test_speedups.py index 4bf0875..825ecf2 100644 --- a/simplejson/tests/test_speedups.py +++ b/simplejson/tests/test_speedups.py @@ -1,7 +1,6 @@ -import decimal from unittest import TestCase -from simplejson import decoder, encoder, scanner +from simplejson import encoder, scanner def has_speedups(): return encoder.c_make_encoder is not None |