Skip to content

Commit 25755b6

Browse files
committed
Fix args parsing in graalpytest
1 parent ff94f92 commit 25755b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python.test/src/graalpytest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,8 @@ class TextTestResult():
705705
patterns.append(argv.pop(idx))
706706
except IndexError:
707707
print("-k needs an argument")
708-
idx += 1
708+
else:
709+
idx += 1
709710

710711
if argv[1] == "-v":
711712
verbose = True

0 commit comments

Comments
 (0)