• Nick Coghlan's avatar
    [2.7] bpo-29514: Check magic number for bugfix releases · a51f12f1
    Nick Coghlan yazdı
    Add a test to check the current MAGIC_NUMBER against the
    expected number for the release if the current release is
    at candidate or final level. On test failure, describe to
    the developer the procedure for changing the magic number.
    
    This ensures that pre-merge CI will automatically pick up
    on magic number changes in maintenance releases (and
    explain why those are problematic), rather than relying on
    all core developers to be aware of the implications of
    such changes.
    a51f12f1
test_import_magic.py 2.21 KB