Skip to content

Commit

Permalink
Drop a constant that is not used anywhere
Browse files Browse the repository at this point in the history
This is unused and thus can be removed.
  • Loading branch information
pradyunsg committed Apr 7, 2024
1 parent 3bf4e2c commit f7e9360
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_traceback.py
Expand Up @@ -9,8 +9,6 @@
from rich.theme import Theme
from rich.traceback import Traceback, install

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'


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

0 comments on commit f7e9360

Please sign in to comment.