Merge branch 'max-depth' of github.com:willmcgugan/rich into max-depth

This commit is contained in:
Will McGugan 2022-01-06 15:07:24 +00:00
commit dafb1d567f
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ def test_recursive():
def test_max_depth():
d = d = {}
d = {}
d["foo"] = {"fob": {"a": [1, 2, 3], "b": {"z": "x", "y": ["a", "b", "c"]}}}
assert pretty_repr(d, max_depth=0) == "..."