1 parent d4c2bdd commit 88b11b5Copy full SHA for 88b11b5
1 file changed
tests/run-tests
@@ -33,6 +33,9 @@ def run_tests(pyb, tests):
33
skip_travis_tests = set(['basics/memoryerror.py'])
34
35
for test_file in tests:
36
+ test_basename = os.path.basename(test_file)
37
+ test_name = os.path.splitext(test_basename)[0]
38
+
39
if running_under_travis and test_file in skip_travis_tests:
40
print("skip ", test_file)
41
skipped_tests.append(test_name)
@@ -68,9 +71,6 @@ def run_tests(pyb, tests):
68
71
except pyboard.PyboardError:
69
72
output_mupy = b'CRASH'
70
73
- test_basename = os.path.basename(test_file)
- test_name = os.path.splitext(test_basename)[0]
-
74
if output_mupy == b'SKIP\n':
75
76
0 commit comments