commit f3fada29235b9d504c4daa34f451d31249058fa9 Author: Damian Johnson atagar@torproject.org Date: Sun Jan 6 20:23:09 2013 -0800
Conforming to E201 (whitespace after '{')
Agreed on this one. --- test/check_whitespace.py | 2 +- test/unit/response/mapaddress.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/check_whitespace.py b/test/check_whitespace.py index 5e05c53..ed4cfe4 100644 --- a/test/check_whitespace.py +++ b/test/check_whitespace.py @@ -47,7 +47,7 @@ def pep8_issues(base_path = DEFAULT_TARGET): # We're gonna trim these down by cateogry but include the pep8 checks to # prevent regression.
- ignored_issues = "E111,E121,W293,E501,E302,E701,E251,E261,W391,E127,E241,E128,E226,E231,E202,E201" + ignored_issues = "E111,E121,W293,E501,E302,E701,E251,E261,W391,E127,E241,E128,E226,E231,E202"
issues = {} pep8_output = system.call("pep8 --ignore %s %s" % (ignored_issues, base_path)) diff --git a/test/unit/response/mapaddress.py b/test/unit/response/mapaddress.py index b8ba7cb..d4884b6 100644 --- a/test/unit/response/mapaddress.py +++ b/test/unit/response/mapaddress.py @@ -63,7 +63,7 @@ class TestMapAddressResponse(unittest.TestCase):
control_message = mocking.get_message(UNRECOGNIZED_KEYS_RESPONSE) self.assertRaises(stem.InvalidRequest, stem.response.convert, "MAPADDRESS", control_message) - expected = { "23": "324" } + expected = {"23": "324"}
control_message = mocking.get_message(PARTIAL_FAILURE_RESPONSE) stem.response.convert("MAPADDRESS", control_message)
tor-commits@lists.torproject.org