Skip to content

Commit e104e24

Browse files
committed
tests/run-tests: Wrap long lists to facilitate adding more items.
1 parent 62b9614 commit e104e24

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/run-tests

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def convert_regex_escapes(line):
5050

5151

5252
def run_micropython(pyb, args, test_file, is_special=False):
53-
special_tests = ('micropython/meminfo.py', 'basics/bytes_compare3.py', 'basics/builtin_help.py', 'thread/thread_exc2.py')
53+
special_tests = (
54+
'micropython/meminfo.py', 'basics/bytes_compare3.py',
55+
'basics/builtin_help.py', 'thread/thread_exc2.py',
56+
)
5457
if pyb is None:
5558
# run on PC
5659
if test_file.startswith(('cmdline/', 'feature_check/')) or test_file in special_tests:
@@ -477,7 +480,10 @@ def main():
477480
test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'wipy')
478481
else:
479482
# run PC tests
480-
test_dirs = ('basics', 'micropython', 'float', 'import', 'io', 'misc', 'stress', 'unicode', 'extmod', 'unix', 'cmdline')
483+
test_dirs = (
484+
'basics', 'micropython', 'float', 'import', 'io', 'misc',
485+
'stress', 'unicode', 'extmod', 'unix', 'cmdline',
486+
)
481487
else:
482488
# run tests from these directories
483489
test_dirs = args.test_dirs

0 commit comments

Comments
 (0)