Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Lib/test/test_asyncio/test_eager_task_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import unittest

from unittest import mock
from asyncio import tasks
from asyncio import staggered, tasks
from test.test_asyncio import utils as test_utils
from test.support.script_helper import assert_python_ok

Expand Down Expand Up @@ -225,7 +225,7 @@ async def blocked():
await fut

async def run():
winner, index, excs = await asyncio.staggered.staggered_race(
winner, index, excs = await staggered.staggered_race(
[
lambda: blocked(),
lambda: asyncio.sleep(1, result="sleep1"),
Expand All @@ -247,7 +247,7 @@ async def fail():
raise ValueError("no good")

async def run():
winner, index, excs = await asyncio.staggered.staggered_race(
winner, index, excs = await staggered.staggered_race(
[
lambda: fail(),
lambda: asyncio.sleep(1, result="sleep1"),
Expand Down
6 changes: 3 additions & 3 deletions Lib/test/test_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
import unittest

import test.support
from test.support import requires_specialization_ft, script_helper
from test.support import import_helper, requires_specialization_ft, script_helper

_testcapi = test.support.import_helper.import_module("_testcapi")
_testinternalcapi = test.support.import_helper.import_module("_testinternalcapi")
_testcapi = import_helper.import_module("_testcapi")
_testinternalcapi = import_helper.import_module("_testinternalcapi")

PAIR = (0,1)

Expand Down
Loading