cpython/Lib/test/test_importlib
Nick Coghlan 92e9e35292 [3.6] bpo-29514: Check magic number for bugfix releases (#2157)
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.
2017-06-13 20:32:46 +10:00
..
builtin Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and 2015-05-21 20:15:40 +03:00
extension Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
frozen Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
import_ Issue #15767: Use ModuleNotFoundError. 2016-09-07 16:56:15 -07:00
namespace_pkgs Issue #21097: Move test_namespace_pkgs into test_importlib. 2014-03-29 15:57:44 -06:00
source Merge for #27083 2016-07-16 10:45:16 -07:00
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
abc.py Implement PEP 451 (ModuleSpec). 2013-11-22 09:05:39 -07:00
test_abc.py Issue #21099: Switch applicable importlib tests to use PEP 451 API. 2016-05-10 16:21:03 -06:00
test_api.py Issue #21099: Switch applicable importlib tests to use PEP 451 API. 2016-05-10 16:21:03 -06:00
test_lazy.py Issue #26186: Remove the restriction that built-in and extension 2016-06-25 10:58:17 -07:00
test_locks.py Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator. 2016-12-08 11:26:18 +01:00
test_namespace_pkgs.py Fixes #19711: Add tests for reloading namespace packages. 2016-05-10 15:29:05 -06:00
test_spec.py Issue #26667: Add path-like object support to importlib.util. 2016-09-07 18:39:18 -07:00
test_util.py [3.6] bpo-29514: Check magic number for bugfix releases (#2157) 2017-06-13 20:32:46 +10:00
test_windows.py Issue #25985: sys.version_info is now used instead of sys.version 2016-02-11 13:10:36 +02:00
util.py Merge for #27083 2016-07-16 10:45:16 -07:00