bpo-29514: Make magic number test work for candidates (GH-7946)

This commit is contained in:
Ned Deily 2018-06-26 23:55:36 -04:00 committed by GitHub
parent 5430c14aba
commit f79386f669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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):