Skip to content

Commit f2b6fc5

Browse files
Bissbertclaude
andcommitted
fix: remove unused NestedGrowth imports in tests
Fixes ruff F401 lint errors for unused imports in test_three_generations and test_nested_growth_to_dict. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cb5a65b commit f2b6fc5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/test_parser.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,8 +1343,6 @@ def test_nested_growth_flat_forms(self):
13431343

13441344
def test_three_generations(self):
13451345
"""Three-generation nested growth."""
1346-
from cdl_parser import NestedGrowth
1347-
13481346
desc = parse_cdl("cubic[m3m]:{111} > {100} > {110}")
13491347
flat = desc.flat_forms()
13501348
assert len(flat) == 3
@@ -1381,8 +1379,6 @@ def test_nested_growth_str(self):
13811379

13821380
def test_nested_growth_to_dict(self):
13831381
"""NestedGrowth in to_dict() output."""
1384-
from cdl_parser import NestedGrowth
1385-
13861382
desc = parse_cdl("cubic[m3m]:{111} > {100}")
13871383
d = desc.to_dict()
13881384
assert d["forms"][0]["type"] == "nested_growth"

0 commit comments

Comments
 (0)