mirror of
https://github.com/python/cpython
synced 2024-09-15 23:46:26 +00:00
Add primitive test for frozen package.
This commit is contained in:
parent
fe03e81aa5
commit
f015e18d9d
|
@ -47,7 +47,11 @@ static unsigned char M___hello__[] = {
|
|||
};
|
||||
|
||||
static struct _frozen _PyImport_FrozenModules[] = {
|
||||
/* Test module */
|
||||
{"__hello__", M___hello__, 90},
|
||||
/* Test package (negative size indicates package-ness) */
|
||||
{"__phello__", M___hello__, -90},
|
||||
{"__phello__.spam", M___hello__, 90},
|
||||
{0, 0, 0} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue