Skip to content

Commit f918e33

Browse files
jeplerdpgeorge
authored andcommitted
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 <jepler@unpythonic.net>
1 parent 78ec31b commit f918e33

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/thread/stress_schedule.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ def task(x):
2727
n += 1
2828

2929

30-
# This function must always use the bytecode emitter so it bounces the GIL when running.
31-
@micropython.bytecode
3230
def thread():
3331
while thread_run:
3432
try:

0 commit comments

Comments
 (0)