Skip to content

Commit

Permalink
add stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 8, 2020
1 parent ec8cb56 commit b98ff8f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/stress_test_pretty.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b98ff8f

Please sign in to comment.