File fix-tests.patch of Package python-pytz

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):
openSUSE Build Service is sponsored by