mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
fixes
This commit is contained in:
parent
d359770970
commit
a49e595996
20 changed files with 203 additions and 88 deletions
|
@ -143,3 +143,11 @@ def test_newline():
|
|||
result = console.end_capture()
|
||||
expected = "\n(\n 1,\n)\n"
|
||||
assert result == expected
|
||||
|
||||
|
||||
def test_empty_repr():
|
||||
class Foo:
|
||||
def __repr__(self):
|
||||
return ""
|
||||
|
||||
assert pretty_repr(Foo()) == ""
|
Loading…
Add table
Add a link
Reference in a new issue