]> granicus.if.org Git - python/commitdiff
Skip zoneinfo tests on VxWorks (#13535)
authorhliu0 <hongchang.liu@windriver.com>
Tue, 10 Sep 2019 10:28:11 +0000 (18:28 +0800)
committerDino Viehland <dinoviehland@gmail.com>
Tue, 10 Sep 2019 10:28:11 +0000 (11:28 +0100)
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst [new file with mode: 0644]

index d5de5e91a98240f00bcece81e0d928d66f40b81b..a1ed614cf0cd013b0e226d891e6f3269e40af1c1 100644 (file)
@@ -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 (file)
index 0000000..eb7163b
--- /dev/null
@@ -0,0 +1 @@
+Port test_datetime to VxWorks: skip zoneinfo tests on VxWorks