]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-29514: Make magic number test work for candidates (GH-7946)
authorNed Deily <nad@python.org>
Wed, 27 Jun 2018 03:55:36 +0000 (23:55 -0400)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 03:55:36 +0000 (23:55 -0400)
Lib/test/test_import_magic.py

index 92f68b44f25c38516fb897f24c4f76c95e130815..57e350e3d8283730a7d6615084c6f168ef77ed75 100644 (file)
@@ -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):