Repository navigation
Commit 47b829d
Revert "chore(tests): annotate remaining time-offset test fixture param"
This reverts commit 41eaa74.
Annotating the fixture as QueryContextProcessor resolves _qc_datasource to
the Explorable protocol, which does not declare get_offset_custom_or_inherit
-- the `processor` fixture binds it (and several other ExploreMixin methods)
onto a mock at runtime. The annotation therefore broke mypy:
tests/unit_tests/common/test_query_context_processor.py:425: error:
"Explorable" has no attribute "get_offset_custom_or_inherit"
The tests that reach through _qc_datasource for these bound methods are
deliberately left unannotated for this reason.
Co-Authored-By: Claude Opus 4.8 <[email protected]>1 parent 41eaa74 commit 47b829d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
0 commit comments