Skip to content

Commit d79810d

Browse files
committed
add repr test
1 parent c039dc7 commit d79810d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/2_deflatabledict.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ def test_deflating(flat_deliminated_dict, nested_dict):
4747

4848
assert dd == nested_dict
4949
assert dd.deflate() == flat_deliminated_dict
50+
51+
# This tests the __repr__
52+
assert str(dd) == str(flat_deliminated_dict)

0 commit comments

Comments
 (0)