We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c00e155 commit 4d72d6aCopy full SHA for 4d72d6a
2 files changed
frozen/Adafruit_CircuitPython_asyncio
tests/extmod/asyncio_get_event_loop.py
@@ -6,6 +6,11 @@
6
print("SKIP")
7
raise SystemExit
8
9
+# CPython 3.12 deprecated calling get_event_loop() when there is no current event
10
+# loop, so to make this test run on CPython requires setting the event loop.
11
+if hasattr(asyncio, "set_event_loop"):
12
+ asyncio.set_event_loop(asyncio.new_event_loop())
13
+
14
15
async def main():
16
print("start")
0 commit comments