Skip to content

Commit 8edd834

Browse files
refactor: use existing import for _get_dis_theme
1 parent 32e696c commit 8edd834

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Lib/test/test_dis.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ def _error():
3737

3838
TRACEBACK_CODE = get_tb().tb_frame.f_code
3939

40-
def _get_dis_theme():
41-
from _colorize import get_theme
42-
return get_theme().dis
43-
44-
theme = _get_dis_theme()
40+
theme = dis._get_dis_theme()
4541

4642
class _C:
4743
def __init__(self, x):

0 commit comments

Comments
 (0)