Skip to content

Commit da53f94

Browse files
committed
unskip test_asyncgen.py
1 parent 78ba212 commit da53f94

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Lib/test/test_asyncgen.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ async def gen():
179179
else:
180180
self.fail('StopAsyncIteration was not raised')
181181

182-
@unittest.skip("TODO: RUSTPYTHON")
182+
# TODO: RUSTPYTHON
183+
@unittest.expectedFailure
183184
def test_async_gen_exception_03(self):
184185
async def gen():
185186
await awaitable()
@@ -229,7 +230,6 @@ async def gen():
229230
'async generator.*StopIteration'):
230231
to_list(gen())
231232

232-
@unittest.skip("TODO: RUSTPYTHON")
233233
def test_async_gen_exception_07(self):
234234
def sync_gen():
235235
try:
@@ -253,7 +253,6 @@ async def async_gen():
253253

254254
self.compare_generators(sync_gen(), async_gen())
255255

256-
@unittest.skip("TODO: RUSTPYTHON")
257256
def test_async_gen_exception_08(self):
258257
def sync_gen():
259258
try:
@@ -279,7 +278,6 @@ async def async_gen():
279278

280279
self.compare_generators(sync_gen(), async_gen())
281280

282-
@unittest.skip("TODO: RUSTPYTHON")
283281
def test_async_gen_exception_09(self):
284282
def sync_gen():
285283
try:
@@ -935,7 +933,8 @@ async def run():
935933
self.loop.run_until_complete(run())
936934
self.assertEqual(DONE, 1)
937935

938-
@unittest.skip("TODO: RUSTPYTHON")
936+
# TODO: RUSTPYTHON
937+
@unittest.expectedFailure
939938
def test_async_gen_asyncio_athrow_02(self):
940939
DONE = 0
941940

@@ -1054,7 +1053,8 @@ async def run():
10541053

10551054
self.loop.run_until_complete(run())
10561055

1057-
@unittest.skip("TODO: RUSTPYTHON")
1056+
# TODO: RUSTPYTHON
1057+
@unittest.expectedFailure
10581058
def test_async_gen_asyncio_shutdown_01(self):
10591059
finalized = 0
10601060

0 commit comments

Comments
 (0)