Skip to content

Commit a4e0562

Browse files
committed
fix another test fail
1 parent df0f56d commit a4e0562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ async def handler(request):
596596
assert e.__cause__ is e_cause
597597

598598
# the nursery-internal group is injected as context
599-
assert isinstance(e.__context__, ExceptionGroup)
599+
assert isinstance(e.__context__, _TRIO_EXC_GROUP_TYPE)
600600
assert e.__context__.exceptions[0] is e_primary
601601
assert e.__context__.exceptions[0].__context__ is e_context
602602

0 commit comments

Comments
 (0)