datetime: Skip tests that require the host to be in UTC timezone.

Signed-off-by: Damien George <damien@micropython.org>
pull/883/head
Damien George 2024-06-16 10:42:18 +10:00
rodzic 469b81b567
commit 0d4b3635b4
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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