aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authornatsuoto <[email protected]>2026-07-15 12:04:21 +0530
committernatsuoto <[email protected]>2026-07-15 12:04:21 +0530
commite1fc8c45a0534722b2c8d3a1fa94876a25d57901 (patch)
treec17bcae990fe6ef1cd670df9106948402760896d /tests
parent089004d6d63c06d11e195484e767e5fe30b5cfcb (diff)
downloadedify-e1fc8c45a0534722b2c8d3a1fa94876a25d57901.tar.xz
edify-e1fc8c45a0534722b2c8d3a1fa94876a25d57901.zip
refactor(typing): make edify pass mypy --strict and pyright --strict end to end
Diffstat (limited to 'tests')
-rw-r--r--tests/builder/repr.test.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/builder/repr.test.py b/tests/builder/repr.test.py
index c5c716e..278f40b 100644
--- a/tests/builder/repr.test.py
+++ b/tests/builder/repr.test.py
@@ -1,11 +1,6 @@
"""Tests for :meth:`BuilderCore.__repr__` on :class:`RegexBuilder` and :class:`Pattern`."""
from edify import Pattern, RegexBuilder
-from edify.builder.core import BuilderCore
-
-
-class _BareBuilder(BuilderCore):
- """A minimal :class:`BuilderCore` subclass without :class:`TerminalsMixin`."""
def test_repr_of_a_fresh_regex_builder_shows_the_empty_non_capturing_group():
@@ -34,7 +29,3 @@ def test_repr_of_a_builder_with_open_frames_shows_the_unclosed_marker():
def test_repr_uses_the_concrete_class_name_not_the_base():
assert repr(RegexBuilder()).startswith("<RegexBuilder ")
assert repr(Pattern()).startswith("<Pattern ")
-
-
-def test_repr_falls_back_when_the_subclass_lacks_the_terminals_mixin():
- assert repr(_BareBuilder()) == "<_BareBuilder '<unclosed>'>"