From b173f9b72726b310256fbfe4c94edd52df3176ab Mon Sep 17 00:00:00 2001 From: stefan6419846 <96178532+stefan6419846@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:05:31 +0100 Subject: [PATCH] fix condition --- tests/tools/test_rpm_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tools/test_rpm_tools.py b/tests/tools/test_rpm_tools.py index 75b6e91..416288e 100644 --- a/tests/tools/test_rpm_tools.py +++ b/tests/tools/test_rpm_tools.py @@ -40,7 +40,7 @@ class CheckRpmHeadersTestCase(TestCase): maxDiff = None def test_binary(self) -> None: - if sys.version_info < (3, 10): + if sys.version_info < (3, 11): file_flags = "[, , , , ]" file_verification_flags = "[, , , , ]" # noqa: E501 required_names_flags = "[, , , , , , , ]" # noqa: E501 @@ -138,7 +138,7 @@ def test_binary(self) -> None: ) def test_source(self) -> None: - if sys.version_info < (3, 10): + if sys.version_info < (3, 11): file_flags = "[, , , , , , , , , , ]" # noqa: E501 file_verification_flags = "[, , , , , , , , , , ]" # noqa: E501 required_names_flags = "[, ]"