Jeremy Epstein
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
tests/test_dependency_runtime_errors.py
|
|
|
@ -12,7 +12,7 @@ async def get_username_reraises(): |
|
|
|
async with await open_file("/non_existing/path.txt", "r") as f: |
|
|
|
yield await f.read() # pragma: no cover |
|
|
|
except OSError as ex: |
|
|
|
raise RuntimeError("File something something, wubba lubba dub dub!") from ex |
|
|
|
raise RuntimeError("File read error") from ex |
|
|
|
|
|
|
|
|
|
|
|
async def get_username_doesnt_reraise(): |
|
|
|
|