Commit 5a99c6b3 authored by Guido van Rossum's avatar Guido van Rossum

Add primitive test for frozen package.

parent f1814bb6
......@@ -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 */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment