summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-03-19 20:15:59 -0700
committerMonty Taylor <mordred@inaugust.com>2013-03-19 20:15:59 -0700
commit42a985906c8507f46f26eb7543551bbdb23669f1 (patch)
tree407a9e0b98c8f4510fff3a1a72a87fc8ed9e13cc
parent0eaf73f82223f92b04b6e6c294afe49f40ad6931 (diff)
downloadoslo-serialization-42a985906c8507f46f26eb7543551bbdb23669f1.tar.gz
Update to use flake8.
flake8 is pluggable and handles pep8 and pyflakes, as well as configuration through tox.ini. It also removes the need for flakes.py. Change-Id: If5f7d8ad348b4fb8119fa4ec7b5e9d17bdc72a39
-rw-r--r--tests/unit/test_jsonutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_jsonutils.py b/tests/unit/test_jsonutils.py
index b6c0feb..35a9487 100644
--- a/tests/unit/test_jsonutils.py
+++ b/tests/unit/test_jsonutils.py
@@ -115,7 +115,7 @@ class ToPrimitiveTestCase(utils.BaseTestCase):
# If the cycle isn't caught, to_primitive() will eventually result in
# an exception due to excessive recursion depth.
- p = jsonutils.to_primitive(x)
+ jsonutils.to_primitive(x)
def test_instance(self):
class MysteryClass(object):