Skip to content

Commit 39e3468

Browse files
authored
Update test_humanize.py
1 parent 9a79de1 commit 39e3468

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_humanize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self, a, b, c, d):
9999
self.c = c
100100
self.d = d
101101
a = Class1('a', 'b', 1, 2)
102-
assert repr(a) == "<Class1: a: 'a', b: 'b', c: 1>"
102+
assert repr(a) == "<Class1: a='a', b='b', c=1>"
103103

104104
# change order
105105
@easy_repr('c', 'a', 'd')
@@ -110,7 +110,7 @@ def __init__(self, a, b, c, d):
110110
self.c = c
111111
self.d = d
112112
a = Class2('a', 'b', 1, 2)
113-
assert repr(a) == "<Class2: c: 1, a: 'a', d: 2>"
113+
assert repr(a) == "<Class2: c=1, a='a', d=2>"
114114

115115
try:
116116
@easy_repr()

0 commit comments

Comments
 (0)