Skip to content

Commit dbaa1fd

Browse files
committed
fix readme
1 parent 818ac36 commit dbaa1fd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- `connection`: Connecting to your database, by default: django.db.connection
4040

4141

42-
### > WARNING: If you use `pytest-xdist` and run the test with the `-n <workers>` flag, the results will not be reflected in the terminal. Remove the `-n <workers>` flag to display them.
42+
### > WARNING: If you use `pytest-xdist` and run the test with the `-n <workers>` flag, the results will not be reflected in the terminal. Remove the `-n <workers>` flag to display them or use `--capture=tee-sys -rP` parameters.
4343

4444

4545
## Usage examples

src/capture_db_queries/decorators.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ class CaptureQueries:
8989
9090
---
9191
92-
#### WARNING: If you use `pytest-xdist` and run the test with the `-n <workers>` flag, the results will not be reflected in the terminal. Remove the `-n <workers>` flag to display them.
92+
#### WARNING: If you use `pytest-xdist` and run the test with the `-n <workers>` flag,
93+
the results will not be reflected in the terminal. Remove the `-n <workers>` flag to display them
94+
or use `--capture=tee-sys -rP` parameters.
9395
9496
---
9597

0 commit comments

Comments
 (0)