From 4d83822985bc45dacd611859d76aa5cc3e35e3bc Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 10 May 2013 14:15:44 -0700 Subject: fix pep8 --- tests/unittests/test_merging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unittests/test_merging.py b/tests/unittests/test_merging.py index ba1c67d7..4c28f955 100644 --- a/tests/unittests/test_merging.py +++ b/tests/unittests/test_merging.py @@ -42,7 +42,7 @@ def _old_mergemanydict(*args): def _random_str(rand): base = '' - for _i in xrange(rand.randint(1, 2**8)): + for _i in xrange(rand.randint(1, 2 ** 8)): base += rand.choice(string.letters + string.digits) return base @@ -82,7 +82,7 @@ def _make_dict(current_depth, max_depth, rand): if t in [tuple]: base = tuple(base) elif t in [long, int]: - base = rand.randint(0, 2**8) + base = rand.randint(0, 2 ** 8) elif t in [str]: base = _random_str(rand) return base -- cgit v1.2.3