From 5ff892676c866c5203c6ca4dc7982feed1c25a90 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Sun, 9 Dec 2018 14:55:13 +0100 Subject: [PATCH] fix py3 only syntax --- test/test_lex_id.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_lex_id.py b/test/test_lex_id.py index 68c2444..eb26cea 100644 --- a/test/test_lex_id.py +++ b/test/test_lex_id.py @@ -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