From f918e336452b8506ca30887fc37e92733718e3bb Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 1 Dec 2025 08:46:19 -0600 Subject: [PATCH] tests/thread/stress_schedule.py: Remove decorator/inaccurate comment. This test can now run correctly with the native emitter because the `thread()` function will run the scheduler during the call to `time.sleep_ms(1)`. Signed-off-by: Jeff Epler --- tests/thread/stress_schedule.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/thread/stress_schedule.py b/tests/thread/stress_schedule.py index 10ba67d0bb..fca9b38df8 100644 --- a/tests/thread/stress_schedule.py +++ b/tests/thread/stress_schedule.py @@ -27,8 +27,6 @@ def task(x): n += 1 -# This function must always use the bytecode emitter so it bounces the GIL when running. -@micropython.bytecode def thread(): while thread_run: try: