jeffev
jeffev
`tests/test_basic.py::test_werkzeug_passthrough_errors` mocks `werkzeug.serving.run_simple` and stores `kwargs.get("passthrough_errors")` in `rv`, but nothing reads `rv` afterwards. Across its 24 parametrized cases it only checks that `app.run()` doesn't raise. As far as I can...
Two tests in `tests/test_requests.py` put their only assertion inside an `except` block, so they pass without checking anything when the exception is not raised. **`TestTimeout.test_stream_timeout`**: if the request to `delay/10`...
In `packages/zod/src/v4/classic/tests/number.test.ts` ("min value getters", "max value getters") and `packages/zod/src/v3/tests/number.test.ts` ("min max getters"), 36 assertions are written as ```ts expect(z.number().minValue).toBeNull; ``` without the call parentheses, so they assert nothing. (Same...