summaryrefslogtreecommitdiff
path: root/tests/test_shell_completion.py
diff options
context:
space:
mode:
authortaran_lu <taran@houzz.com>2021-08-03 10:18:49 -0700
committerDavid Lord <davidism@gmail.com>2021-08-05 09:01:29 -0700
commit36e7f199a316eea0e008a1e9b302ff2ddbc0c5c0 (patch)
tree56f976355d57537241fda7a5faec4cc8add5b326 /tests/test_shell_completion.py
parent6aff09eeb48d1d805c903b58ba393565a0cfd3e1 (diff)
downloadclick-36e7f199a316eea0e008a1e9b302ff2ddbc0c5c0.tar.gz
use sys.exit() instead of _fast_exit()
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
)