diff options
| author | natsuoto <[email protected]> | 2026-07-16 17:31:49 +0530 |
|---|---|---|
| committer | natsuoto <[email protected]> | 2026-07-16 17:31:49 +0530 |
| commit | 1b43c8dc09adb9b54609cc8a1916c99eb6fe75c9 (patch) | |
| tree | 7731af50ed9117f8ac3d200591c3be23818d7b19 /tests/builder/engine.test.py | |
| parent | b7ae2f3885d5ff84237c9da8bc0c64fe1a509465 (diff) | |
| download | edify-1b43c8dc09adb9b54609cc8a1916c99eb6fe75c9.tar.xz edify-1b43c8dc09adb9b54609cc8a1916c99eb6fe75c9.zip | |
chore: enforce fully strict static typing across library, tests, and tooling with zero suppressions
Diffstat (limited to 'tests/builder/engine.test.py')
| -rw-r--r-- | tests/builder/engine.test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/builder/engine.test.py b/tests/builder/engine.test.py index c6a32d1..9fddeb4 100644 --- a/tests/builder/engine.test.py +++ b/tests/builder/engine.test.py @@ -32,7 +32,7 @@ def test_engine_regex_and_engine_re_are_not_equal_for_the_same_source(): assert left != right -def test_engine_regex_raises_clean_import_error_without_the_extra(monkeypatch): +def test_engine_regex_raises_clean_import_error_without_the_extra(monkeypatch: pytest.MonkeyPatch): monkeypatch.setitem(sys.modules, "regex", None) with pytest.raises(MissingRegexBackendError, match="engine='regex'") as excinfo: RegexBuilder().digit().to_regex(engine="regex") @@ -41,7 +41,9 @@ def test_engine_regex_raises_clean_import_error_without_the_extra(monkeypatch): assert "= note:" in text -def test_missing_regex_backend_error_chains_from_underlying_import_error(monkeypatch): +def test_missing_regex_backend_error_chains_from_underlying_import_error( + monkeypatch: pytest.MonkeyPatch, +): monkeypatch.setitem(sys.modules, "regex", None) with pytest.raises(MissingRegexBackendError) as excinfo: RegexBuilder().digit().to_regex(engine="regex") |
