Skip to content

Commit 5d692a7

Browse files
authored
Merge pull request #878 from akx/patch-1
docs: Remove unused statement in one-log-per-worker example
2 parents 2329d34 + 5e795d8 commit 5d692a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/how-to.rst

-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ Example:
221221
def pytest_configure(config):
222222
worker_id = os.environ.get("PYTEST_XDIST_WORKER")
223223
if worker_id is not None:
224-
log_file = config.getini("worker_log_file")
225224
logging.basicConfig(
226225
format=config.getini("log_file_format"),
227226
filename=f"tests_{worker_id}.log",

0 commit comments

Comments
 (0)