We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f98cd6 + 9fb5ddf commit 436e13aCopy full SHA for 436e13a
_pytest/config.py
@@ -104,7 +104,7 @@ def _prepareconfig(args=None, plugins=None):
104
elif not isinstance(args, (tuple, list)):
105
if not isinstance(args, str):
106
raise ValueError("not a string or argument list: %r" % (args,))
107
- args = shlex.split(args, posix=sys.platform == "win32")
+ args = shlex.split(args, posix=sys.platform != "win32")
108
config = get_config()
109
pluginmanager = config.pluginmanager
110
try:
0 commit comments