forked from pool/python-pytz
Accepting request 244314 from home:Nijel:branches:devel:languages:python
- Run test suite during build (required disabling of one test as it is known to be broken) OBS-URL: https://build.opensuse.org/request/show/244314 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
9a62e7bc7b
commit
49dbb584d0
18
fix-tests.patch
Normal file
18
fix-tests.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/pytz/tests/test_tzinfo.py
|
||||
+++ b/pytz/tests/test_tzinfo.py
|
||||
@@ -694,15 +694,6 @@
|
||||
'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):
|
Reference in New Issue
Block a user