fix test error

This commit is contained in:
kreiserlee 2024-06-14 10:45:13 +08:00 committed by openkylin-cibot
parent 0ab581b0d9
commit c2e7b4cffd
3 changed files with 29 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
python-future (0.18.2-1-ok7) nile; urgency=medium
* fix test error
-- liyang <liyang01@kylinos.cn> Fri, 14 Jun 2024 10:44:34 +0800
python-future (0.18.2-1-ok6) nile; urgency=medium
* fix test error

View File

@ -0,0 +1,22 @@
From: kreiserlee <liyang01@kylinos.cn>
Date: Fri, 14 Jun 2024 10:45:13 +0800
Subject: fix test error
---
src/future/utils/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/future/utils/__init__.py b/src/future/utils/__init__.py
index 46bd96d..1b5eeea 100644
--- a/src/future/utils/__init__.py
+++ b/src/future/utils/__init__.py
@@ -61,6 +61,9 @@ PY3 = sys.version_info[0] >= 3
PY34_PLUS = sys.version_info[0:2] >= (3, 4)
PY35_PLUS = sys.version_info[0:2] >= (3, 5)
PY36_PLUS = sys.version_info[0:2] >= (3, 6)
+PY37_PLUS = sys.version_info[0:2] >= (3, 7)
+PY38_PLUS = sys.version_info[0:2] >= (3, 8)
+PY39_PLUS = sys.version_info[0:2] >= (3, 9)
PY2 = sys.version_info[0] == 2
PY26 = sys.version_info[0:2] == (2, 6)
PY27 = sys.version_info[0:2] == (2, 7)

View File

@ -5,3 +5,4 @@
0005-fix-error-for-python3.12.patch
0006-fix-test-error.patch
0007-fix-test-error.patch
0008-fix-test-error.patch