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.
1 parent f039e98 commit 3d70c7eCopy full SHA for 3d70c7e
seleniumbase/plugins/pytest_plugin.py
@@ -1286,7 +1286,8 @@ def pytest_configure(config):
1286
or " -n=" in arg_join
1287
or "-c" in sys.argv
1288
or (
1289
- "addopts" in config.inicfg.keys()
+ sys.version_info[0] >= 3
1290
+ and "addopts" in config.inicfg.keys()
1291
and (
1292
"-n=" in config.inicfg["addopts"]
1293
or "-n " in config.inicfg["addopts"]
@@ -1298,7 +1299,8 @@ def pytest_configure(config):
1298
1299
"--html" in sys.argv
1300
or " --html=" in arg_join
1301
1302
1303
1304
1305
"--html=" in config.inicfg["addopts"]
1306
or "--html " in config.inicfg["addopts"]
0 commit comments