8000 tests/run-tests: Fix copy-paste mistake in var name. · rlucia/micropython@f54b352 · GitHub
[go: up one dir, main page]

Skip to content

Commit f54b352

Browse files
committed
tests/run-tests: Fix copy-paste mistake in var name.
1 parent d1f9090 commit f54b352

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/run-tests

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -210,33 +210,33 @@ def run_tests(pyb, tests, args, base_path="."):
210210
skip_revops = False
211211

212212
# Check if micropython.native is supported, and skip such tests if it's not
213-
native = run_feature_check(pyb, args, base_path, 'native_check.py')
214-
if native == b'CRASH':
213+
output = run_feature_check(pyb, args, base_path, 'native_check.py')
214+
if output == b'CRASH':
215215
skip_native = True
216216

217217
# Check if arbitrary-precision integers are supported, and skip such tests if it's not
218-
native = run_feature_check(pyb, args, base_path, 'int_big.py')
219-
if native != b'1000000000000000000000000000000000000000000000\n':
218+
output = run_feature_check(pyb, args, base_path, 'int_big.py')
219+
if output != b'1000000000000000000000000000000000000000000000\n':
220220
skip_int_big = True
221221

222222
# Check if set type (and set literals) is supported, and skip such tests if it's not
223-
native = run_feature_check(pyb, args, base_path, 'set_check.py')
224-
if native == b'CRASH':
223+
output = run_feature_check(pyb, args, base_path, 'set_check.py')
224+
if output == b'CRASH':
225225
skip_set_type = True
226226

227227
# Check if async/await keywords are supported, and skip such tests if it's not
228-
native = run_feature_check(pyb, args, base_path, 'async_check.py')
229-
if native == b'CRASH':
228+
output = run_feature_check(pyb, args, base_path, 'async_check.py')
229+
if output == b'CRASH':
230230
skip_async = True
231231

232232
# Check if const keyword (MicroPython extension) is supported, and skip such tests if it's not
233-
native = run_feature_check(pyb, args, base_path, 'const.py')
234-
if native == b'CRASH':
233+
output = run_feature_check(pyb, args, base_path, 'const.py')
234+
if output == b'CRASH':
235235
skip_const = True
236236

237237
# Check if __rOP__ special methods are supported, and skip such tests if it's not
238-
native = run_feature_check(pyb, args, base_path, 'reverse_ops.py')
239-
if native == b'TypeError\n':
238+
output = run_feature_check(pyb, args, base_path, 'reverse_ops.py')
239+
if output == b'TypeError\n':
240240
skip_revops = True
241241

242242
# Check if emacs repl is supported, and skip such tests if it's not

0 commit comments

Comments
 (0)
0