Skip to content

Commit

Permalink
docs: Remove unused statement in one-log-per-worker example
Browse files Browse the repository at this point in the history
  • Loading branch information
akx authored Feb 13, 2023
1 parent 2329d34 commit 5e795d8
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 5e795d8

Please sign in to comment.