summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-06-27 02:24:59 (GMT)
committerNed Deily <nad@python.org>2018-06-27 02:36:46 (GMT)
commite7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06 (patch)
tree8cfcd8674f17c67a473686dbb77aed0f9f73bf50 /Lib
parent4e21100fa7bf66e0b32146d3f46ae16afc73fee1 (diff)
downloadcpython-e7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06.zip
cpython-e7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06.tar.gz
cpython-e7d3cccd8e0da93a15ca80f4b6aac2ca3435fd06.tar.bz2
bpo-29514: Make magic number test work for candidates
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_importlib/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py
index b319e18..d134e3c 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):