Skip to content

Commit f7e9360

Browse files
committed
Drop a constant that is not used anywhere
This is unused and thus can be removed.
1 parent 3bf4e2c commit f7e9360

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_traceback.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
from rich.theme import Theme
1010
from rich.traceback import Traceback, install
1111

12-
CAPTURED_EXCEPTION = 'Traceback (most recent call last):\n╭──────────────────────────────────────────────────────────────────────────────────────────────────╮\n│ File "/Users/textualize/projects/rich/tests/test_traceback.py", line 26, in test_handler │\n│ 23 try: │\n│ 24 old_handler = install(console=console, line_numbers=False) │\n│ 25 try: │\n│ ❱ 26 1 / 0 │\n│ 27 except Exception: │\n│ 28 exc_type, exc_value, traceback = sys.exc_info() │\n│ 29 sys.excepthook(exc_type, exc_value, traceback) │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\nZeroDivisionError: division by zero\n'
13-
1412

1513
def test_handler():
1614
console = Console(file=io.StringIO(), width=100, color_system=None)

0 commit comments

Comments
 (0)