Remove extra newline

This commit is contained in:
Saul Shanabrook 2022-07-05 09:51:02 -04:00 committed by GitHub
parent 0232b2b850
commit 21b51aa9b3

View file

@ -550,16 +550,19 @@ def test_tuple_rich_repr():
"""
Test that can use None as key to have tuple positional values.
"""
class Foo:
def __rich_repr__(self):
yield None, (1,)
assert pretty_repr(Foo()) == "Foo((1,))"
def test_tuple_rich_repr_default():
"""
Test that can use None as key to have tuple positional values and with a default.
"""
class Foo:
def __rich_repr__(self):
yield None, (1,), (1,)