Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit 13c732f

Browse files
committed
also add __suppress_context__ checking in test_tools.py::test_split_and_check_attributes_same case.
1 parent b1b3096 commit 13c732f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exceptiongroup/_tests/test_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def test_split_and_check_attributes_same():
112112
assert matched.__traceback__ is new_group.__traceback__
113113
assert matched.__cause__ is new_group.__cause__
114114
assert matched.__context__ is new_group.__context__
115+
assert matched.__suppress_context__ is new_group.__suppress_context__
115116
assert unmatched.__traceback__ is new_group.__traceback__
116117
assert unmatched.__cause__ is new_group.__cause__
117118
assert unmatched.__context__ is new_group.__context__
119+
assert unmatched.__suppress_context__ is new_group.__suppress_context__

0 commit comments

Comments
 (0)