Hi Yicong,
On 3 June 2015 at 05:37, Yicong Huang <[email protected]> wrote:
> We tried to import the module in app level code, but failed.
That's how it is done in various modules. See for example
pypy/module/_collections/app_defaultdict. Maybe you wrote a test that
did you start with:
class AppTestTestAPI:
spaceconfig = dict(usemodules=['modulename'])
which is needed, otherwise the test runs in a configuration in which
the module is not present.
A bientôt,
Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev