From cf4a4ea68eca91aa044556806d3d91369182702c Mon Sep 17 00:00:00 2001 From: natsuoto <279971144+natsuoto@users.noreply.github.com> Date: Wed, 15 Jul 2026 18:12:42 +0530 Subject: =?UTF-8?q?chore:=20codebase-wide=20rule=20audit=20=E2=80=94=20eli?= =?UTF-8?q?minate=20Any/object=20where=20non-protocol,=20hoist=20in-functi?= =?UTF-8?q?on=20imports,=20rename=20compound/folder-repeat=20files,=20repl?= =?UTF-8?q?ace=20generic-exception=20raises,=20bind=20chained=20comprehens?= =?UTF-8?q?ions,=20strip=20=5F=5Finit=5F=5F=20docstrings,=20remove=20pragm?= =?UTF-8?q?as?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/errors/frames.test.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/errors/frames.test.py') diff --git a/tests/errors/frames.test.py b/tests/errors/frames.test.py index b4077ba..0ae0c1b 100644 --- a/tests/errors/frames.test.py +++ b/tests/errors/frames.test.py @@ -3,6 +3,7 @@ import pytest from edify import RegexBuilder +from edify.errors.quantifier import DanglingQuantifierError from edify.errors.structure import CannotCallSubexpressionError @@ -53,8 +54,6 @@ def test_subexpression_lists_open_frames_from_the_argument_not_the_receiver(): def test_dangling_quantifier_reports_the_specific_pending_quantifier_name(): - from edify.errors.quantifier import DanglingQuantifierError - with pytest.raises(DanglingQuantifierError) as excinfo: RegexBuilder().exactly(3).to_regex_string() text = str(excinfo.value) @@ -62,8 +61,6 @@ def test_dangling_quantifier_reports_the_specific_pending_quantifier_name(): def test_dangling_quantifier_falls_back_to_generic_summary_when_name_unknown(): - from edify.errors.quantifier import DanglingQuantifierError - error = DanglingQuantifierError() text = str(error) assert "dangling quantifier" in text -- cgit v1.2.3