[issue30876] SystemError on importing module from unloaded package

Dmitry K report at bugs.python.org
Wed Jul 26 10:00:05 EDT 2017


Dmitry K added the comment:

test_concurrency (test.test_import.ImportTests) seems to fail, too, with a similar error:

    ModuleNotFoundError: No module named 'package'

Apparently, this happens because the LIBSUBDIRS variable in Makefile doesn't include all the subdirectories of test/test_import/data. Adding the following two lines fixed the issue for me:

   test/test_import/data/package \
   test/test_import/data/package2 \

Should I submit a patch?

----------
nosy: +vaultah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30876>
_______________________________________


More information about the Python-bugs-list mailing list