Skip to content

Commit

Permalink
fix 310 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Oct 6, 2021
1 parent 3da0e79 commit b5fc0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pretty.py
Expand Up @@ -265,7 +265,7 @@ class Foo:
del foo.bar
result = pretty_repr(foo)
print(repr(result))
expected = "'Foo' object has no attribute 'bar'"
expected = "Foo(bar=AttributeError(\"'Foo' object has no attribute 'bar'\"))"
assert result == expected


Expand Down

0 comments on commit b5fc0f8

Please sign in to comment.