Skip to content

Commit 4ef99b9

Browse files
committed
adds docstring
1 parent e92c397 commit 4ef99b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/microgenerator/tests/unit/test_generate_analyzer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def __init__(self):
243243
),
244244
],
245245
)
246-
def test_attribute_extraction(self, code_snippet, expected_structure):
246+
def test_attribute_extraction(self, code_snippet: str, expected_structure: list):
247+
"""Tests the extraction of class and instance attributes."""
247248
analyzer = CodeAnalyzer()
248249
tree = ast.parse(code_snippet)
249250
analyzer.visit(tree)

0 commit comments

Comments
 (0)