Skip to content

Commit 42ff7ac

Browse files
committed
add comment
1 parent 33a956a commit 42ff7ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def pytest_configure(config: pytest.Config) -> None:
9696
def django_db_setup(request: pytest.FixtureRequest) -> None:
9797
if (
9898
request.config.option.ci
99+
# xdist worker id prefix is either `gw[0-9]+` or `master`
99100
and (xdist_worker_id_suffix := get_xdist_worker_id(request)[2:]).isnumeric()
100101
):
101102
# Django's test database clone indices start at 1,

0 commit comments

Comments
 (0)