summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/extmod/asyncio_as_uasyncio.py12
-rw-r--r--tests/extmod/asyncio_as_uasyncio.py.exp2
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/extmod/asyncio_as_uasyncio.py b/tests/extmod/asyncio_as_uasyncio.py
new file mode 100644
index 0000000000..612292299c
--- /dev/null
+++ b/tests/extmod/asyncio_as_uasyncio.py
@@ -0,0 +1,12 @@
+try:
+ import uasyncio
+ import asyncio
+except ImportError:
+ print("SKIP")
+ raise SystemExit
+
+x = set(dir(uasyncio))
+y = set(dir(asyncio)) - set(["event", "lock", "stream", "funcs"])
+
+print(x - y)
+print(y - x)
diff --git a/tests/extmod/asyncio_as_uasyncio.py.exp b/tests/extmod/asyncio_as_uasyncio.py.exp
new file mode 100644
index 0000000000..9405b80109
--- /dev/null
+++ b/tests/extmod/asyncio_as_uasyncio.py.exp
@@ -0,0 +1,2 @@
+set()
+set()