[Python-checkins] bpo-29514: Make magic number test work for candidates (GH-7945)
Ned Deily
webhook-mailer at python.org
Tue Jun 26 23:55:17 EDT 2018
https://github.com/python/cpython/commit/57389dbaa897fadc97de78af67d5e555e28be60b
commit: 57389dbaa897fadc97de78af67d5e555e28be60b
branch: 3.6
author: Ned Deily <nad at python.org>
committer: GitHub <noreply at github.com>
date: 2018-06-26T23:55:07-04:00
summary:
bpo-29514: Make magic number test work for candidates (GH-7945)
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 ac18e5c34b87..43b158cc67f2 100644
--- a/Lib/test/test_importlib/test_util.py
+++ b/Lib/test/test_importlib/test_util.py
@@ -763,7 +763,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