change standard repr to ClassName

This commit is contained in:
Luciano Ramalho
2021-05-23 22:19:15 -03:00
parent f248baf418
commit be7a67c93e
2 changed files with 5 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ class SentinelCustomRepr(Sentinel):
def test_repr():
assert repr(PlainSentinel) == '<PlainSentinel>'
assert repr(PlainSentinel) == 'PlainSentinel'
def test_pickle():