Skip to content

Commit 1acc46e

Browse files
committed
update README
1 parent b715168 commit 1acc46e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,18 +256,17 @@ export UV_LINK_MODE=copy
256256

257257
### Running tests
258258

259-
Make sure your virtual environment is activated, then run:
259+
Make sure your virtual environment is activated. It's recommended to run `pytest` as a module with `python -m pytest` to ensure the Python path is set up correctly, especially for editable installs:
260260

261261
```bash
262262
# Run all tests
263-
pytest
263+
python -m pytest
264264

265265
# Run with verbose output
266-
pytest -v
266+
python -m pytest -v
267267

268268
# Run with coverage information
269-
pytest --cov=pydantic_prompt
270-
```
269+
python -m pytest --cov=pydantic_prompt
271270

272271
### Code formatting and linting
273272

0 commit comments

Comments
 (0)