remove useless patch

This commit is contained in:
yangl777 2022-06-21 14:39:31 +08:00
parent 5b0f964deb
commit b15be9af66
2 changed files with 7 additions and 13 deletions

View File

@ -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 <yanglu72@h-partners.com> - 2021.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:remove useless patch
* Tue Mar 22 2022 xihaochen <xihaochen@h-partners.com> - 2021.3-1
- Type:bugfix
- ID:NA

View File

@ -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)