python-pytz/fix-tests.patch
Matej Cepl f0feb071a7 - Replace nose test runner with pytest (py2k stdlib unittest
runner is not sufficient to run the test suite here).
- Refresh patches fix-tests.patch, system_zoneinfo.patch,
  0001-Fix-tests-for-older-timezone-versions.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=73
2019-01-09 17:21:14 +00:00

19 lines
586 B
Diff

--- a/pytz/tests/test_tzinfo.py
+++ b/pytz/tests/test_tzinfo.py
@@ -726,15 +726,6 @@ class LocalTestCase(unittest.TestCase):
'1914-01-01 13:40:00 UTC+0000'
)
- 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):