summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-06-27 03:55:36 (GMT)
committerGitHub <noreply@github.com>2018-06-27 03:55:36 (GMT)
commitf79386f669c22199e3ce99cfba2e5945c73beb47 (patch)
tree8b44b73f927a6428265470b1ce91a883baa80ec4
parent5430c14aba319f83b18879575244ba429e8c1d81 (diff)
downloadcpython-f79386f669c22199e3ce99cfba2e5945c73beb47.zip
cpython-f79386f669c22199e3ce99cfba2e5945c73beb47.tar.gz
cpython-f79386f669c22199e3ce99cfba2e5945c73beb47.tar.bz2
bpo-29514: Make magic number test work for candidates (GH-7946)
-rw-r--r--Lib/test/test_import_magic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_import_magic.py b/Lib/test/test_import_magic.py
index 92f68b4..57e350e 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):