Skip to content

Commit 0e5da56

Browse files
committed
[trio.from_thread]
Fixed naming conflict of `test_do_in_trio_thread_from_trio_thread`.
1 parent 7aa905f commit 0e5da56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trio/tests/test_threads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def test_run_fn_as_system_task_catched_badly_typed_token():
522522
run_sync(_core.current_time, trio_token="Not TrioTokentype")
523523

524524

525-
async def test_do_in_trio_thread_from_trio_thread():
525+
async def test_do_in_trio_thread_from_trio_thread_legacy():
526526
# This check specifically confirms that a RuntimeError will be raised if
527527
# the old BlockingTrIoPortal API calls into a trio loop while already
528528
# running inside of one.

0 commit comments

Comments
 (0)