Skip to content

Commit

Permalink
Merge pull request #878 from akx/patch-1
Browse files Browse the repository at this point in the history
docs: Remove unused statement in one-log-per-worker example
  • Loading branch information
nicoddemus committed Feb 13, 2023
2 parents 2329d34 + 5e795d8 commit 5d692a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/how-to.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ Example:
def pytest_configure(config):
worker_id = os.environ.get("PYTEST_XDIST_WORKER")
if worker_id is not None:
log_file = config.getini("worker_log_file")
logging.basicConfig(
format=config.getini("log_file_format"),
filename=f"tests_{worker_id}.log",
Expand Down

0 comments on commit 5d692a7

Please sign in to comment.