add stress test

This commit is contained in:
Will McGugan 2020-08-08 18:51:34 +01:00
parent ec8cb56ccf
commit b98ff8fe3c

View file

@ -0,0 +1,12 @@
from rich.console import Console
from rich.pretty import Pretty
DATA = {
"foo": [1, 2, 3, (1, 2, 3), {4, 5, 6, (7, 8, 9)}, "Hello, World"],
"bar": [None, False, True],
}
console = Console()
for w in range(100):
console.print(DATA, width=w)