Files
python-pytz/fix-tests.patch
Matej Cepl 6cb6abdf4d - Update to 2025.1:
* Squashed 'tz/' changes from 6903dde39e..5ad5cfba5b
  * IANA 2025a
  * Bump version numbers to 2025.1 / 2025a

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=131
2025-02-17 22:59:24 +00:00

21 lines
730 B
Diff

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