summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/client/test_helpers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/client/test_helpers.py b/tests/client/test_helpers.py
index 8e69d45..1e8d6bb 100644
--- a/tests/client/test_helpers.py
+++ b/tests/client/test_helpers.py
@@ -192,5 +192,4 @@ def test_family_ip_tuple():
def test_family_to_string():
assert sshuttle.helpers.family_to_string(AF_INET) == "AF_INET"
assert sshuttle.helpers.family_to_string(AF_INET6) == "AF_INET6"
- expected = 'AddressFamily.AF_UNIX'
- assert sshuttle.helpers.family_to_string(socket.AF_UNIX) == expected
+ assert isinstance(sshuttle.helpers.family_to_string(socket.AF_UNIX), str)