We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedf18d commit 5cb2d2aCopy full SHA for 5cb2d2a
tests/test_tracebacks.py
@@ -941,7 +941,7 @@ def test_json_exception_groups() -> None:
941
lineno = get_next_lineno()
942
943
async def t1() -> None:
944
- 1 // 0
+ raise TypeError("bleh")
945
946
async def t2() -> None:
947
raise ValueError("Blam!")
@@ -962,8 +962,8 @@ async def main():
962
assert [
963
[
964
{
965
- "exc_type": "ZeroDivisionError",
966
- "exc_value": "integer division or modulo by zero",
+ "exc_type": "TypeError",
+ "exc_value": "bleh",
967
"exc_notes": [],
968
"syntax_error": None,
969
"is_cause": False,
0 commit comments