mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
tests: Fix tests to use sys.implementation._mpy.
The field was renamed to _mpy in 59c5d41611
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -22,8 +22,8 @@ except AttributeError:
|
||||
# Effectively skip subtests
|
||||
print(True)
|
||||
|
||||
if hasattr(sys.implementation, 'mpy'):
|
||||
print(type(sys.implementation.mpy))
|
||||
if hasattr(sys.implementation, '_mpy'):
|
||||
print(type(sys.implementation._mpy))
|
||||
else:
|
||||
# Effectively skip subtests
|
||||
print(int)
|
||||
|
||||
Reference in New Issue
Block a user