beb21d384c
If HyASTCompiler is given a string, it imports it and uses it as the execution environment. However, the unit tests gave HyASTCompiler the string 'test', assuming it would create a new test module, when in reality it would import CPython's test module that is designed for internal use. Slim Docker images don't include this module, therefore the tests would fail to run. |
||
---|---|---|
.. | ||
compilers | ||
importer | ||
macros | ||
native_tests | ||
resources | ||
__init__.py | ||
test_bin.py | ||
test_hy2py.py | ||
test_lex.py | ||
test_models.py |