!21 sync master to remove useless patch
From: @yangl777 Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
3fb02efa6d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: pytz
|
Name: pytz
|
||||||
Version: 2021.3
|
Version: 2021.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: World Timezone Definitions for Python
|
Summary: World Timezone Definitions for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pytz.sourceforge.net/
|
URL: http://pytz.sourceforge.net/
|
||||||
@ -52,6 +52,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
|||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 21 2022 yanglu <yanglu72@h-partners.com> - 2021.3-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove useless patch
|
||||||
|
|
||||||
* Wed Dec 08 2021 yanglu <yanglu72@openeuler.org> - 2021.3-1
|
* Wed Dec 08 2021 yanglu <yanglu72@openeuler.org> - 2021.3-1
|
||||||
- Update version to 2021.3
|
- Update version to 2021.3
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user