]> granicus.if.org Git - python/commit
Add a minimal unit test for Python/frozen.c. (#2995)
authorNeil Schemenauer <nas-github@arctrix.com>
Sat, 2 Dec 2017 21:54:00 +0000 (13:54 -0800)
committerGitHub <noreply@github.com>
Sat, 2 Dec 2017 21:54:00 +0000 (13:54 -0800)
commit1eaa1169c522727b1911b798d45c8984992bd179
treef09dbacdac2ac91adafceefe108bfab0079c2d8f
parent13badcbc60cdbfae1dba1683fd2fae9d70717143
Add a minimal unit test for Python/frozen.c. (#2995)

If the marshal or bytecode formats get changed, frozen.c needs to
be updated as well.  It can be easy to miss this step and not doing
so can cause test_importlib to crash in mysterious ways.  Add an
explict unit test to make it easier to track down the problem.
Lib/test/test_frozen.py [new file with mode: 0644]