summaryrefslogtreecommitdiffhomepage
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-09 22:55:48 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 23:26:00 -0500
commit78abb0e542ae5f74b30e5e2aa15a04a815bc55ae (patch)
tree82ba70b54e6c598ada435c4779d1450f034caf80 /tests/test_config.py
parent9e83ca9d8acb5e9d41d45d46a0339e2f633e2dea (diff)
string_types -> str
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 017d4bbf..9b86108d 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -4,8 +4,6 @@
from os.path import expanduser
from socket import gaierror
-from paramiko.py3compat import string_types
-
try:
from invoke import Result
except ImportError:
@@ -731,7 +729,7 @@ def _expect(success_on):
Single string or list of strings, noting commands that should appear to
succeed.
"""
- if isinstance(success_on, string_types):
+ if isinstance(success_on, str):
success_on = [success_on]
def inner(command, *args, **kwargs):