Skip to content

Commit 410fd47

Browse files
committed
fixed dict ordering issue
1 parent c38a26c commit 410fd47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_restobj.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_restobj():
3434
def test_repr():
3535
d = dict(a=1, b=2)
3636

37-
assert str(d) in repr(RestObj(d))
37+
assert "'a': 1" in repr(RestObj(d))
38+
assert "'b': 2" in repr(RestObj(d))
3839

3940

4041
def test_str():

0 commit comments

Comments
 (0)