mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
fix py3 only syntax
This commit is contained in:
parent
9c2883d8ef
commit
5ff892676c
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ def test_next_id_overflow():
|
||||||
|
|
||||||
def test_next_id_random():
|
def test_next_id_random():
|
||||||
for i in range(1000):
|
for i in range(1000):
|
||||||
prev_id = str(random.randint(1, 100_000))
|
prev_id = str(random.randint(1, 100 * 1000))
|
||||||
try:
|
try:
|
||||||
next_id = lex_id.next_id(prev_id)
|
next_id = lex_id.next_id(prev_id)
|
||||||
assert prev_id < next_id
|
assert prev_id < next_id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue