forked from pool/python-pytz
Accepting request 1306470 from home:glaubitz:branches:devel:languages:python
- Update to 2025.2 * Squashed 'tz/' changes from a8e2fcd87b..a84610f010 * Bump version numbers to 2024.2 (2024b) OBS-URL: https://build.opensuse.org/request/show/1306470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=133
This commit is contained in:
20
fix-tests.patch
Normal file
20
fix-tests.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Index: pytz-2022.2.1/pytz/tests/test_tzinfo.py
|
||||
===================================================================
|
||||
--- pytz-2022.2.1.orig/pytz/tests/test_tzinfo.py
|
||||
+++ pytz-2022.2.1/pytz/tests/test_tzinfo.py
|
||||
@@ -685,15 +685,6 @@ class LocalTestCase(unittest.TestCase):
|
||||
'2004-04-04 01:50:00 EST-0500'
|
||||
)
|
||||
|
||||
- def no_testCreateLocaltime(self):
|
||||
- # It would be nice if this worked, but it doesn't.
|
||||
- tz = pytz.timezone('Europe/Amsterdam')
|
||||
- dt = datetime(2004, 10, 31, 2, 0, 0, tzinfo=tz)
|
||||
- self.assertEqual(
|
||||
- dt.strftime(fmt),
|
||||
- '2004-10-31 02:00:00 CET+0100'
|
||||
- )
|
||||
-
|
||||
|
||||
class CommonTimezonesTestCase(unittest.TestCase):
|
||||
def test_bratislava(self):
|
||||
Reference in New Issue
Block a user