Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion requirements-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
tomli;python_version<"3.11" # Only needed for pytest on Python < 3.11
pytest-cov
pytest-forked
pytest-localserver
pytest-timeout

Check failure on line 6 in requirements-testing.txt

View check run for this annotation

@sentry/warden / warden: code-review

Removing pytest-localserver breaks tests that depend on it

`pytest-localserver` is still actively used in `tests/conftest.py` (imported as `pytest_localserver.http.WSGIServer`), which `CapturingServer` extends and which is consumed by `test_transport.py` and `test_gevent.py` — removing it from requirements will cause import errors and test failures.

Check failure on line 6 in requirements-testing.txt

View check run for this annotation

@sentry/warden / warden: find-bugs

Removing pytest-localserver breaks all tests due to hard import in conftest.py

Removing `pytest-localserver` from `requirements-testing.txt` will cause an `ImportError` at test collection time because `tests/conftest.py` unconditionally imports `from pytest_localserver.http import WSGIServer`, crashing the entire test suite.
Comment thread
sentry-warden[bot] marked this conversation as resolved.
pytest-watch
jsonschema
executing
Expand Down
Loading