[Python-checkins] bpo-29514: Make magic number test work for candidates

Ned Deily webhook-mailer at python.org
Tue Jun 26 23:03:04 EDT 2018


https://github.com/python/cpython/commit/8511b448a55929f15aa5730c9e30cbb654978ea4
commit: 8511b448a55929f15aa5730c9e30cbb654978ea4
branch: 3.7
author: Ned Deily <nad at python.org>
committer: Ned Deily <nad at python.org>
date: 2018-06-26T22:53:14-04:00
summary:

bpo-29514: Make magic number test work for candidates

files:
M Lib/test/test_importlib/test_util.py

diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py
index 56a0b0e7a518..c285d7b5ac57 100644
--- a/Lib/test/test_importlib/test_util.py
+++ b/Lib/test/test_importlib/test_util.py
@@ -769,7 +769,7 @@ class MagicNumberTests(unittest.TestCase):
     Test release compatibility issues relating to importlib
     """
     @unittest.skipUnless(
-        sys.version_info.releaselevel in ('final', 'release'),
+        sys.version_info.releaselevel in ('candidate', 'final'),
         'only applies to candidate or final python release levels'
     )
     def test_magic_number(self):



More information about the Python-checkins mailing list