summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/test_merging.py4
1 files changed, 2 insertions, 2 deletions
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