Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Sep 25, 2024
1 parent 2a5a327 commit 6f62d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_type_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,6 @@ def test_const_evaluator(self):
ConstEvaluator = type(T.evaluate_bound)

with self.assertRaisesRegex(TypeError, r"cannot create '_typing\._ConstEvaluator' instances"):
ConstEvaluator()
ConstEvaluator() # This used to segfault.
with self.assertRaisesRegex(TypeError, r"cannot set 'attribute' attribute of immutable type '_typing\._ConstEvaluator'"):
ConstEvaluator.attribute = 1

0 comments on commit 6f62d20

Please sign in to comment.