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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_ast.py | ||
test_compiler.py |