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 65f2a64 commit 3e12030Copy full SHA for 3e12030
Lib/test/test_patma.py
@@ -3449,7 +3449,7 @@ def test_class_pattern_not_type(self):
3449
def test_class_or_union_not_specialform(self):
3450
from typing import Literal
3451
name = type(Literal).__name__
3452
- msg = rf"called match pattern must be a class or typing.Union of classes \(got {name}\)"
+ msg = rf"called match pattern must be a class or a union of classes \(got {name}\)"
3453
w = None
3454
with self.assertRaisesRegex(TypeError, msg):
3455
match 1:
0 commit comments