We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca00a5 commit 6473afdCopy full SHA for 6473afd
django_typer/tests/shellcompletion/__init__.py
@@ -49,7 +49,9 @@ def read_all_from_fd_with_timeout(fd, timeout):
49
50
def scrub(output: str) -> str:
51
"""Scrub control code characters and ansi escape sequences for terminal colors from output"""
52
- return re.sub(r"[\x00-\x1F\x7F]|\x1B\[[0-?]*[ -/]*[@-~]", "", output)
+ return re.sub(r"[\x00-\x1F\x7F]|\x1B\[[0-?]*[ -/]*[@-~]", "", output).replace(
53
+ "\t", ""
54
+ )
55
56
57
class _DefaultCompleteTestCase:
0 commit comments