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:
Damien George
2022-05-17 09:42:39 +10:00
parent e3c880a569
commit 8aa254c369
2 changed files with 6 additions and 6 deletions

View File

@@ -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)