summaryrefslogtreecommitdiff
path: root/tests/basics/pkg2
AgeCommit message (Collapse)Author
2014-04-17tests: Split out those tests requiring float and import.Damien George
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.
2014-04-12builtinimport: Set __path__ attribute ASAP as it's clear we have a package.Paul Sokolovsky
This helps with handling "recursive" imports in sane manner, for example when foo/__init__.py has something like "from foo import submod".