summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tests/net_hosted/asyncio_loopback.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/net_hosted/asyncio_loopback.py b/tests/net_hosted/asyncio_loopback.py
index fd4674544c..03513ae624 100644
--- a/tests/net_hosted/asyncio_loopback.py
+++ b/tests/net_hosted/asyncio_loopback.py
@@ -1,5 +1,12 @@
# Test network loopback behaviour
+import sys
+
+# Only certain platforms can do TCP/IP loopback.
+if sys.platform not in ("darwin", "esp32", "linux"):
+ print("SKIP")
+ raise SystemExit
+
try:
import asyncio
except ImportError: