mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-29243: Remove first item from sys.argv for tox
first item is _jb_runner name which is not how tox does.
It breaks {posargs}
This commit is contained in:
@@ -106,7 +106,7 @@ class _Nose(object):
|
||||
_RUNNERS = [_Unit2(), _PyTest(), _Nose()]
|
||||
|
||||
import sys
|
||||
config = tox_config.parseconfig(args=sys.argv)
|
||||
config = tox_config.parseconfig(args=sys.argv[1:])
|
||||
for env, tmp_config in config.envconfigs.items():
|
||||
if not tmp_config.setenv:
|
||||
tmp_config.setenv = dict()
|
||||
|
||||
Reference in New Issue
Block a user