Commit 047130f
Replace conftest auto-marking with module-level pytestmark
The previous conftest hook auto-applied pytest.mark.flaky to tests
by inspecting function source for references to a central
_PUBLIC_GETTERS frozenset. This was implicit and required keeping
that set in sync with the public API. Switch to explicit opt-in: drop
conftest.py and declare the marker at the top of waterdata_test.py
via pytestmark. The other waterdata_*_test.py files are entirely
mocked or pure unit tests and need no retry.
The retry config (reruns count, delay, transient-error trace
patterns) is co-located with the tests it protects.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 86ac286 commit 047130f
2 files changed
Lines changed: 18 additions & 100 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
| |||
0 commit comments