summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/pkg2/mod1.py
Commit message (Collapse)AuthorAge
* tests: Split out those tests requiring float and import.Damien George2014-04-17
| | | | | | | | | Tests in basics (which should probably be renamed to core) should not rely on float, or import any non-built-in files. This way these tests can be run when those features are not available. All test in basics now pass on the pyboard using stmhal port, except for string-repr which has some issues with character hex printing.
* builtinimport: Set __path__ attribute ASAP as it's clear we have a package.Paul Sokolovsky2014-04-12
This helps with handling "recursive" imports in sane manner, for example when foo/__init__.py has something like "from foo import submod".