Skip to content

Commit 74dd879

Browse files
committed
add doc str test
1 parent c04b798 commit 74dd879

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_items.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ def test_array_behaves_like_a_list():
308308
content = """a = [1, 2,] # Comment
309309
"""
310310
doc = parse(content)
311+
assert str(doc) == "{'a': [1, 2]}"
311312
assert str(doc["a"]) == "[1, 2]"
312313

313314
assert doc["a"] == [1, 2]

0 commit comments

Comments
 (0)