fix py3 only syntax

This commit is contained in:
Manuel Barkhau 2018-12-09 14:55:13 +01:00
parent 9c2883d8ef
commit 5ff892676c

View file

@ -18,7 +18,7 @@ def test_next_id_overflow():
def test_next_id_random():
for i in range(1000):
prev_id = str(random.randint(1, 100_000))
prev_id = str(random.randint(1, 100 * 1000))
try:
next_id = lex_id.next_id(prev_id)
assert prev_id < next_id