PY-21132: Passing -m option correctly

This commit is contained in:
Ilya.Kazakevich
2016-10-28 21:22:39 +03:00
parent f908835810
commit 473bee53f1
@@ -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)