Skip to content

Commit ddfbeb2

Browse files
committed
remove failing test
1 parent 6247a57 commit ddfbeb2

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

Lib/test/test_asyncio/test_taskgroups.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,19 +1081,6 @@ async def throw_error():
10811081
# cancellation happens here and error is more understandable
10821082
await asyncio.sleep(0)
10831083

1084-
@unittest.expectedFailure
1085-
async def test_name(self):
1086-
name = None
1087-
1088-
async def asyncfn():
1089-
nonlocal name
1090-
name = asyncio.current_task().get_name()
1091-
1092-
async with asyncio.TaskGroup() as tg:
1093-
tg.create_task(asyncfn(), name="example name")
1094-
1095-
self.assertEqual(name, "example name")
1096-
10971084

10981085
class TestTaskGroup(BaseTestTaskGroup, unittest.IsolatedAsyncioTestCase):
10991086
loop_factory = asyncio.EventLoop

0 commit comments

Comments
 (0)