From b15be9af661ee08be5f3bde15936d8f7175ea8d9 Mon Sep 17 00:00:00 2001 From: yangl777 Date: Tue, 21 Jun 2022 14:39:31 +0800 Subject: [PATCH] remove useless patch --- pytz.spec | 8 +++++++- remove_tzinfo_test.patch | 12 ------------ 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 remove_tzinfo_test.patch diff --git a/pytz.spec b/pytz.spec index b498cdf..cadc4bb 100644 --- a/pytz.spec +++ b/pytz.spec @@ -2,7 +2,7 @@ Name: pytz Version: 2021.3 -Release: 1 +Release: 2 Summary: World Timezone Definitions for Python License: MIT URL: http://pytz.sourceforge.net/ @@ -57,6 +57,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %{python3_sitelib}/* %changelog +* Tue Jun 21 2022 yanglu - 2021.3-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove useless patch + * Tue Mar 22 2022 xihaochen - 2021.3-1 - Type:bugfix - ID:NA diff --git a/remove_tzinfo_test.patch b/remove_tzinfo_test.patch deleted file mode 100644 index 226b97a..0000000 --- a/remove_tzinfo_test.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pytz/tests/test_tzinfo.py b/pytz/tests/test_tzinfo.py -index b2640a8..4f5322b 100644 ---- a/pytz/tests/test_tzinfo.py -+++ b/pytz/tests/test_tzinfo.py -@@ -155,6 +155,7 @@ class PicklingTest(unittest.TestCase): - self._roundtrip_tzinfo(localized_tz) - self._roundtrip_datetime(dt.replace(tzinfo=localized_tz)) - -+ @unittest.skip('Fails with system-wide timezone database') - def testRoundtrip(self): - for zone in pytz.all_timezones: - tz = pytz.timezone(zone) -- Gitee