[Python-checkins] bpo-29514: Make magic number test work for candidates (GH-7946)

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


https://github.com/python/cpython/commit/f79386f669c22199e3ce99cfba2e5945c73beb47
commit: f79386f669c22199e3ce99cfba2e5945c73beb47
branch: 2.7
author: Ned Deily <nad at python.org>
committer: GitHub <noreply at github.com>
date: 2018年06月26日T23:55:36-04:00
summary:
bpo-29514: Make magic number test work for candidates (GH-7946)
files:
M Lib/test/test_import_magic.py
diff --git a/Lib/test/test_import_magic.py b/Lib/test/test_import_magic.py
index 92f68b44f25c..57e350e3d828 100644
--- a/Lib/test/test_import_magic.py
+++ b/Lib/test/test_import_magic.py
@@ -11,7 +11,7 @@ class MagicNumberTests(unittest.TestCase):
 Test release compatibility issues relating to precompiled bytecode
 """
 @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 によって変換されたページ (->オリジナル) /