From d852203205ad39d7baad9622545bcc1e46448315 Mon Sep 17 00:00:00 2001 From: Mathias Laurin Date: Sat, 21 Sep 2019 18:06:35 +0200 Subject: [PATCH] fixup! tests: Make port function of python version --- tests/test_tls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tls.py b/tests/test_tls.py index 4a5e6097..8aeba67a 100644 --- a/tests/test_tls.py +++ b/tests/test_tls.py @@ -323,7 +323,7 @@ def buffer(self, request, randbytes): @pytest.fixture def address(self): - port = int("8{}{}{}".format(*sys.version_info)) + port = int("2{}{}{}".format(*sys.version_info)) return "127.0.0.1", port @pytest.fixture(scope="class")