Skip to content

Commit

Permalink
fixup! tests: Make port function of python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Synss committed Sep 21, 2019
1 parent 264a51a commit d852203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tls.py
Expand Up @@ -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")
Expand Down

0 comments on commit d852203

Please sign in to comment.