Skip to content

Commit 6473afd

Browse files
author
Brian Kohan
committed
try fix shellcompletion CI
1 parent 8ca00a5 commit 6473afd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

django_typer/tests/shellcompletion/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def read_all_from_fd_with_timeout(fd, timeout):
4949

5050
def scrub(output: str) -> str:
5151
"""Scrub control code characters and ansi escape sequences for terminal colors from output"""
52-
return re.sub(r"[\x00-\x1F\x7F]|\x1B\[[0-?]*[ -/]*[@-~]", "", output)
52+
return re.sub(r"[\x00-\x1F\x7F]|\x1B\[[0-?]*[ -/]*[@-~]", "", output).replace(
53+
"\t", ""
54+
)
5355

5456

5557
class _DefaultCompleteTestCase:

0 commit comments

Comments
 (0)