kopia lustrzana https://github.com/micropython/micropython-lib
datetime: Skip tests that require the host to be in UTC timezone.
Signed-off-by: Damien George <damien@micropython.org>pull/883/head
rodzic
469b81b567
commit
0d4b3635b4
|
@ -2082,9 +2082,11 @@ class Test5DateTime(unittest.TestCase):
|
|||
with LocalTz("Europe/Rome"):
|
||||
self.assertEqual(dt1.timetuple()[:8], (2002, 1, 31, 0, 0, 0, 3, 31))
|
||||
|
||||
@unittest.skip("broken when running with non-UTC timezone")
|
||||
def test_timetuple01(self):
|
||||
self.assertEqual(dt27tz2.timetuple()[:8], (2010, 3, 27, 12, 0, 0, 5, 86))
|
||||
|
||||
@unittest.skip("broken when running with non-UTC timezone")
|
||||
def test_timetuple02(self):
|
||||
self.assertEqual(dt28tz2.timetuple()[:8], (2010, 3, 28, 12, 0, 0, 6, 87))
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue