mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-21132: Passing -m option correctly
This commit is contained in:
@@ -37,8 +37,7 @@ if run_cov:
|
||||
|
||||
argv = []
|
||||
for arg in sys.argv:
|
||||
if arg.startswith('-m'):
|
||||
argv.append('-m')
|
||||
if arg.startswith('-m') and arg[2:]:
|
||||
argv.append(arg[2:])
|
||||
else:
|
||||
argv.append(arg)
|
||||
|
||||
Reference in New Issue
Block a user