File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -6809,12 +6809,11 @@ class E(type(Unpack)): pass
68096809 class F (type (* Ts )): pass
68106810 with self .assertRaisesRegex (TypeError , CANNOT_SUBCLASS_TYPE ):
68116811 class G (type (Unpack [Ts ])): pass
6812- with self .assertRaisesRegex (TypeError ,
6813- r'Cannot subclass (typing|typing_extensions)\.Unpack' ):
6812+ with self .assertRaises (TypeError ):
68146813 class H (Unpack ): pass
6815- with self .assertRaisesRegex (TypeError , r'Cannot subclass (typing|typing_extensions)\.Unpack\[Ts\]' ):
6814+ with self .assertRaises (TypeError ):
68166815 class I (* Ts ): pass # noqa: E742
6817- with self .assertRaisesRegex (TypeError , r'Cannot subclass (typing|typing_extensions)\.Unpack\[Ts\]' ):
6816+ with self .assertRaises (TypeError ):
68186817 class J (Unpack [Ts ]): pass
68196818
68206819
You can’t perform that action at this time.
0 commit comments