Skip to content

Commit 888ec28

Browse files
committed
Mark unsupported tests
1 parent 08593cd commit 888ec28

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Lib/test/test_asyncgen.py

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

182+
@unittest.skip("TODO: RUSTPYTHON")
182183
def test_async_gen_exception_03(self):
183184
async def gen():
184185
await awaitable()
@@ -342,6 +343,8 @@ async def async_gen_wrapper():
342343

343344
self.compare_generators(sync_gen_wrapper(), async_gen_wrapper())
344345

346+
# TODO: RUSTPYTHON
347+
@unittest.expectedFailure
345348
def test_async_gen_api_01(self):
346349
async def gen():
347350
yield 123
@@ -644,6 +647,8 @@ async def run():
644647
fut.cancel()
645648
self.loop.run_until_complete(asyncio.sleep(0.01))
646649

650+
# TODO: RUSTPYTHON
651+
@unittest.expectedFailure
647652
def test_async_gen_asyncio_gc_aclose_09(self):
648653
DONE = 0
649654

@@ -738,6 +743,8 @@ async def run():
738743
self.loop.run_until_complete(run())
739744
self.assertEqual(DONE, 10)
740745

746+
# TODO: RUSTPYTHON
747+
@unittest.expectedFailure
741748
def test_async_gen_asyncio_aclose_12(self):
742749
DONE = 0
743750

@@ -839,6 +846,8 @@ async def run():
839846
self.loop.run_until_complete(run())
840847
self.assertEqual(DONE, 1)
841848

849+
# TODO: RUSTPYTHON
850+
@unittest.expectedFailure
842851
def test_async_gen_asyncio_asend_03(self):
843852
DONE = 0
844853

@@ -926,6 +935,7 @@ async def run():
926935
self.loop.run_until_complete(run())
927936
self.assertEqual(DONE, 1)
928937

938+
@unittest.skip("TODO: RUSTPYTHON")
929939
def test_async_gen_asyncio_athrow_02(self):
930940
DONE = 0
931941

@@ -1044,6 +1054,7 @@ async def run():
10441054

10451055
self.loop.run_until_complete(run())
10461056

1057+
@unittest.skip("TODO: RUSTPYTHON")
10471058
def test_async_gen_asyncio_shutdown_01(self):
10481059
finalized = 0
10491060

0 commit comments

Comments
 (0)