Skip to content

Commit c3f0f76

Browse files
committed
support pytest-xdist 2.0
1 parent c46b08c commit c3f0f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_reportlog/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def pytest_addoption(parser):
1919

2020
def pytest_configure(config):
2121
report_log = config.option.report_log
22-
if report_log and not hasattr(config, "slaveinput"):
22+
if report_log and not hasattr(config, "workerinput"):
2323
config._report_log_plugin = ReportLogPlugin(config, Path(report_log))
2424
config.pluginmanager.register(config._report_log_plugin)
2525

0 commit comments

Comments
 (0)