From 8e7ff6aba372d1faa3afdd9d62ad7e999dbc58d2 Mon Sep 17 00:00:00 2001 From: hliu0 Date: Tue, 10 Sep 2019 18:28:11 +0800 Subject: Skip zoneinfo tests on VxWorks (#13535) --- Lib/test/datetimetester.py | 2 ++ Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst | 1 + 2 files changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py index d5de5e9..a1ed614 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -5780,6 +5780,8 @@ class ZoneInfoTest(unittest.TestCase): zonename = 'America/New_York' def setUp(self): + if sys.platform == "vxworks": + self.skipTest("Skipping zoneinfo tests on VxWorks") if sys.platform == "win32": self.skipTest("Skipping zoneinfo tests on Windows") try: diff --git a/Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst b/Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst new file mode 100644 index 0000000..eb7163b --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst @@ -0,0 +1 @@ +Port test_datetime to VxWorks: skip zoneinfo tests on VxWorks -- cgit v0.12