From 4f4de7bcfe59a67fc468068c1ce6cb14ace5c6a0 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Wed, 28 Oct 2020 10:50:02 +0800 Subject: [PATCH] Fix release tuple construction --- tests/pytest-pypi/pytest_pypi/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pytest-pypi/pytest_pypi/app.py b/tests/pytest-pypi/pytest_pypi/app.py index 151c26b474..96bb774eb7 100644 --- a/tests/pytest-pypi/pytest_pypi/app.py +++ b/tests/pytest-pypi/pytest_pypi/app.py @@ -97,7 +97,7 @@ def add_release(self, path_to_binary): with open(path_to_binary + ".sha256") as f: hash_value = f.read().strip() self.releases[release] = ReleaseTuple(path_to_binary, requires_python, hash_value) - self._package_dirs.add(ReleaseTuple(path, requires_python)) + self._package_dirs.add(ReleaseTuple(path, requires_python, hash_value)) class Artifact(object):