diff --git a/proxy/proxy.py b/proxy/proxy.py index 5b18d34b..f6f3e2e2 100644 --- a/proxy/proxy.py +++ b/proxy/proxy.py @@ -479,7 +479,7 @@ class Proxy: @staticmethod def is_py3() -> bool: """Exists only to avoid mocking sys.version_info in tests.""" - return sys.version_info[0] == 3 + return sys.version_info[0] != 2 @staticmethod def set_open_file_limit(soft_limit: int) -> None: