micropython/tests/import
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir.
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py.  The basics/ subdirectory is excluded for now so we
aren't changing too much at once.

In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
2020-03-30 13:21:58 +11:00
..
pkg tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
pkg2 tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
pkg3 tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pkg6 tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pkg7 tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pkg8 tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
builtin_import.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
gen_context.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
gen_context2.py tests: Move gen_context to import tests, because it relies on import. 2014-04-17 23:21:52 +01:00
import1a.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import1b.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import2a.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import3a.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import_file.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import_long_dyn.py tests/import_long_dyn: Test for "import *" of a long dynamic name. 2018-11-01 13:33:16 +11:00
import_long_dyn2.py tests/import_long_dyn: Test for "import *" of a long dynamic name. 2018-11-01 13:33:16 +11:00
import_override.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import_override.py.exp tests: Add .exp files for basics/parser and import/import_override. 2019-12-13 14:20:47 +11:00
import_pkg1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import_pkg2.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
import_pkg3.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
import_pkg4.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
import_pkg5.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
import_pkg6.py tests: Add another testcase for relative imports. 2015-02-16 12:11:41 +02:00
import_pkg7.py tests/import: Improve builtinimport.c test coverage. 2017-01-16 15:59:33 +11:00
import_pkg8.py tests/import: Improve builtinimport.c test coverage. 2017-01-16 15:59:33 +11:00
import_star_error.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
module_getattr.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
module_getattr.py.exp tests/import: Add .exp file for module_getattr.py to not require Py 3.7. 2018-10-23 11:56:58 +11:00
mpy_invalid.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
mpy_invalid.py.exp py/persistentcode: Add a qstr window to save mpy files more efficiently. 2019-03-05 16:25:07 +11:00
mpy_native.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
mpy_native.py.exp tests/import: Add test for importing viper code with additional flags. 2019-12-12 20:15:28 +11:00
rel_import_inv.py tests: Add test for relative import without package context. 2015-06-27 00:40:22 +03:00
try_module.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00