[pypy-dev] reusing test classess from another module's test directory?

wlavrijsen at lbl.gov wlavrijsen at lbl.gov
Mon Jun 4 23:15:02 CEST 2012


Hi Amaury,

> You surely noticed that pypy uses absolute imports everywhere.
> Did you try:
>    from pypy.module.cpyext.test.test_cpyext import AppTestCpythonExtensionBase
> like all test files under pypy/module/cpyext?

yes, now I see. Before, I overlooked that directory 'test' actually has an
__init__.py, thus being a module as well.

Thanks,
      Wim
-- 
WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net


More information about the pypy-dev mailing list