summaryrefslogtreecommitdiff
path: root/tests/test_shell_completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_shell_completion.py')
-rw-r--r--tests/test_shell_completion.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_shell_completion.py b/tests/test_shell_completion.py
index 46143c0..8338d0e 100644
--- a/tests/test_shell_completion.py
+++ b/tests/test_shell_completion.py
@@ -1,5 +1,3 @@
-import sys
-
import pytest
from click.core import Argument
@@ -265,7 +263,6 @@ def test_completion_item_data():
@pytest.fixture()
def _patch_for_completion(monkeypatch):
- monkeypatch.setattr("click.core._fast_exit", sys.exit)
monkeypatch.setattr(
"click.shell_completion.BashComplete._check_version", lambda self: True
)