mirror of https://github.com/Textualize/rich.git
fix 310 error message
This commit is contained in:
parent
3da0e79e3c
commit
b5fc0f8dd8
|
@ -265,7 +265,7 @@ def test_attrs_broken_310():
|
|||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue