File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6810,11 +6810,11 @@ class F(type(*Ts)): pass
68106810 with self .assertRaisesRegex (TypeError , CANNOT_SUBCLASS_TYPE ):
68116811 class G (type (Unpack [Ts ])): pass
68126812 with self .assertRaisesRegex (TypeError ,
6813- r'Cannot subclass typing\.Unpack' ):
6813+ r'Cannot subclass ( typing|typing_extensions) \.Unpack' ):
68146814 class H (Unpack ): pass
6815- with self .assertRaisesRegex (TypeError , r'Cannot subclass typing.Unpack\[Ts\]' ):
6815+ with self .assertRaisesRegex (TypeError , r'Cannot subclass ( typing|typing_extensions)\ .Unpack\[Ts\]' ):
68166816 class I (* Ts ): pass # noqa: E742
6817- with self .assertRaisesRegex (TypeError , r'Cannot subclass typing.Unpack\[Ts\]' ):
6817+ with self .assertRaisesRegex (TypeError , r'Cannot subclass ( typing|typing_extensions)\ .Unpack\[Ts\]' ):
68186818 class J (Unpack [Ts ]): pass
68196819
68206820
You can’t perform that action at this time.
0 commit comments