Skip to content

Commit

Permalink
fix ansi test
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Jan 15, 2024
1 parent 1101db5 commit 702157b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cat_win/tests/test_ansi.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ class TestAnsiNotPiped(TestCase):
def tearDown(self):
cat._calculate_line_prefix_spacing.cache_clear()
cat._calculate_line_length_prefix_spacing.cache_clear()
cat.arg_parser = ArgParser()
cat.holder = Holder()

@patch('cat_win.cat.sys.argv', ['<CAT>', ansi_pos_file_path])
@patch('cat_win.cat.const_dic', strip_color_dic_true)
Expand Down

0 comments on commit 702157b

Please sign in to comment.