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

Ned Deily webhook-mailer at python.org
Tue Jun 26 22:38:12 EDT 2018


https://github.com/python/cpython/commit/e7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06
commit: e7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06
branch: master
author: Ned Deily <nad at python.org>
committer: Ned Deily <nad at python.org>
date: 2018年06月26日T22:36:46-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 b319e18d9905..d134e3c3b04d 100644
--- a/Lib/test/test_importlib/test_util.py
+++ b/Lib/test/test_importlib/test_util.py
@@ -842,7 +842,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

AltStyle によって変換されたページ (->オリジナル) /