FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rework exception compiler by youknowone · Pull Request #6909 · RustPython/RustPython · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .rs  (4) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 0 additions & 3 deletions Lib/test/test_coroutines.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,6 @@ async def foo():
self.fail('invalid asynchronous context manager did not fail')


@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "'async with' received an object from __aexit__ that does not implement __await__: int" does not match "'range_iterator' object is not callable"
def test_with_8(self):
CNT = 0

Expand Down Expand Up @@ -2170,7 +2169,6 @@ async def func(): pass
f"coroutine {coro_repr}")
self.assertIn("was never awaited", str(cm.unraisable.exc_value))

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: StopAsyncIteration not raised
def test_for_assign_raising_stop_async_iteration(self):
class BadTarget:
def __setitem__(self, key, value):
Expand Down Expand Up @@ -2204,7 +2202,6 @@ async def run_gen():
return 'end'
self.assertEqual(run_async(run_gen()), ([], 'end'))

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: StopAsyncIteration not raised
def test_for_assign_raising_stop_async_iteration_2(self):
class BadIterable:
def __iter__(self):
Expand Down
Loading
Loading

Back | FazBrowse Home | New Git URL