From 4216bc7d1351feb8199e4ebbff1a9598aa1c5b02 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Thu, 18 Aug 2022 16:57:45 +1000 Subject: tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared --- tests/basics/struct_micropython.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'tests/basics/struct_micropython.py') diff --git a/tests/basics/struct_micropython.py b/tests/basics/struct_micropython.py index f203a4666..81985299f 100644 --- a/tests/basics/struct_micropython.py +++ b/tests/basics/struct_micropython.py @@ -1,13 +1,10 @@ # test MicroPython-specific features of struct try: - import ustruct as struct -except: - try: - import struct - except ImportError: - print("SKIP") - raise SystemExit + import struct +except ImportError: + print("SKIP") + raise SystemExit class A(): pass -- cgit v1.2.3