Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
mark unexpected successes in test_typing
Signed-off-by: Ashwin Naren <[email protected]>
  • Loading branch information
arihant2math committed Apr 22, 2025
commit 151213016e48c2456a33477d3b1a4b5141b911c7
4 changes: 0 additions & 4 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6938,8 +6938,6 @@ def test_contextmanager_type_params(self):
type gen_cm[T1, T2] = typing.ContextManager[T1, T2]
self.assertEqual(get_args(gen_cm.__value__[int, None]), (int, types.NoneType))

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_async_contextmanager(self):
class NotACM:
pass
Expand All @@ -6957,8 +6955,6 @@ def manager():
with self.assertRaises(TypeError):
typing.AsyncContextManager[int, str, float]

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_asynccontextmanager_type_params(self):
cm1 = typing.AsyncContextManager[int]
self.assertEqual(get_args(cm1), (int, bool | None))
Expand Down
Loading