[Python-checkins] Skip zoneinfo tests on VxWorks (#13535)
Dino Viehland
webhook-mailer at python.org
Tue Sep 10 06:28:15 EDT 2019
https://github.com/python/cpython/commit/8e7ff6aba372d1faa3afdd9d62ad7e999dbc58d2
commit: 8e7ff6aba372d1faa3afdd9d62ad7e999dbc58d2
branch: master
author: hliu0 <hongchang.liu at windriver.com>
committer: Dino Viehland <dinoviehland at gmail.com>
date: 2019-09-10T11:28:11+01:00
summary:
Skip zoneinfo tests on VxWorks (#13535)
files:
A Misc/NEWS.d/next/Library/2019-05-17-16-50-02.bpo-31904.4a5ggm.rst
M Lib/test/datetimetester.py
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py
index d5de5e91a982..a1ed614cf0cd 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 000000000000..eb7163b6a7d7
--- /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
More information about the Python-checkins
mailing list