# HG changeset patch # User Bob Ippolito <bob@redivi.com> # Date 1286523838 0 # Fri Oct 08 07:43:58 2010 +0000 # Node ID f0db3c5e1e0f99b3a64d1f0edcb34482072b1a4a # Parent 97431ea8768e1177be925870411868e8ca0e607c pyflakes fixes git-svn-id: http://simplejson.googlecode.com/svn/trunk@235 a4795897-2c25-0410-b006-0d3caba88fa1 diff --git a/simplejson/tests/test_recursion.py b/simplejson/tests/test_recursion.py --- a/simplejson/tests/test_recursion.py +++ b/simplejson/tests/test_recursion.py @@ -53,7 +53,7 @@ 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 --- 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