Skip to content

Commit f0d445a

Browse files
committed
tests/multi_net: Simplify SKIP when imports don't exist.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 3274f03 commit f0d445a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/multi_net/asyncio_tcp_readinto.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# Test asyncio stream readinto() method using TCP server/client
22

3-
try:
4-
import asyncio
5-
except ImportError:
6-
print("SKIP")
7-
raise SystemExit
8-
93
try:
104
import array
5+
import asyncio
116
except ImportError:
127
print("SKIP")
138
raise SystemExit

0 commit comments

Comments
 (0)