+
    BiD&                         ^ RI t ^ RIHt ^ RIHt  ! R R] P
                  4      t ! R R] P
                  4      t]P                   ! R R	] P
                  4      4       t	]
R
8X  d   ] P                  ! 4        R# R# )    N)support)import_modulec                   V   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
tV tR# )TestMROEntryc                   aa . o ! R  R4      p ! VV3R lR4      oS! 4       pV P                  S. 4        ! R RW4      pV P                  S^ ,          W334       V P                  S^,          / 4       R# )c                       ] tR t^	tRtR# )0TestMROEntry.test_mro_entry_signature.<locals>.B N__name__
__module____qualname____firstlineno____static_attributes__r
       -/usr/lib/python3.14/test/test_genericclass.pyBr	   	       r   r   c                   0   <a  ] tR t^
t o VV3R ltRtV tR# )0TestMROEntry.test_mro_entry_signature.<locals>.Cc                .   < SP                  W.4       S3# Nextend)selfargskwargsCtesteds   &*,r   __mro_entries__@TestMROEntry.test_mro_entry_signature.<locals>.C.__mro_entries__   s    tn-tr   r
   Nr   r   r   r   r    r   __classdictcell____classdict__r   r   s   @r   r   r   
         r   r   c                       ] tR t^tRtR# )0TestMROEntry.test_mro_entry_signature.<locals>.Dr
   Nr   r
   r   r   Dr(          sr   r)   N)assertEqual)r   r   cr)   r   r   s   &   @@r   test_mro_entry_signature%TestMROEntry.test_mro_entry_signature   sd    	 	 C$aVI.B'r   c                  a . o ! R  R4      p ! R R4      p ! V3R lR4      pV! 4       pV P                  S. 4        ! R RWV4      pV P                  SR,          WV34       V P                  VP                  WV34       V P                  VP                  WV34       V P                  VP                  WQW2\        34       V! 4       p ! R R	V4      pV P                  SR,          V34       V P                  VP                  V34       R
# )c                       ] tR t^tRtR# )&TestMROEntry.test_mro_entry.<locals>.Ar
   Nr   r
   r   r   Ar1      r   r   r2   c                       ] tR t^tRtR# )&TestMROEntry.test_mro_entry.<locals>.Br
   Nr   r
   r   r   r   r4      r   r   r   c                   .   <a  ] tR t^t o V3R ltRtV tR# )&TestMROEntry.test_mro_entry.<locals>.Cc                @   < SP                  V4       V P                  3# r   )append	__class__r   basesr   s   &&r   r    6TestMROEntry.test_mro_entry.<locals>.C.__mro_entries__   s    e$((r   r
   Nr"   r%   r   s   @r   r   r6      s     ) )r   r   c                       ] tR t^tRtR# )&TestMROEntry.test_mro_entry.<locals>.Dr
   Nr   r
   r   r   r)   r?          #r   r)   c                       ] tR t^$tRtR# )&TestMROEntry.test_mro_entry.<locals>.Er
   Nr   r
   r   r   ErB   $       Cr   rC   Nr+   	__bases____orig_bases____mro__object)	r   r2   r   r   r,   r)   drC   r   s	   &       @r   test_mro_entryTestMROEntry.test_mro_entry   s    	) 	) C$aaAY/qQi0))A!95Q1$89CaT*qd+r   c                  a . o ! R  R4      p ! R R4      p ! V3R lR4      pV! 4       pV P                  S. 4        ! R RWV4      pV P                  SR,          WV34       V P                  VP                  W34       V P                  VP                  WV34       V P                  VP                  WQV\        34        ! R R	V4      pV P                  SR,          V34       V P                  VP                  \        34       V P                  VP                  V34       V P                  VP                  V\        34       R
# )c                       ] tR t^*tRtR# )+TestMROEntry.test_mro_entry_none.<locals>.Ar
   Nr   r
   r   r   r2   rP   *   r   r   r2   c                       ] tR t^+tRtR# )+TestMROEntry.test_mro_entry_none.<locals>.Br
   Nr   r
   r   r   r   rR   +   r   r   r   c                   .   <a  ] tR t^,t o V3R ltRtV tR# )+TestMROEntry.test_mro_entry_none.<locals>.Cc                *   < SP                  V4       R# Nr
   r8   r:   s   &&r   r    ;TestMROEntry.test_mro_entry_none.<locals>.C.__mro_entries__-   s    e$	r   r
   Nr"   r=   s   @r   r   rT   ,   s      r   r   c                       ] tR t^2tRtR# )+TestMROEntry.test_mro_entry_none.<locals>.Dr
   Nr   r
   r   r   r)   rZ   2   r@   r   r)   c                       ] tR t^7tRtR# )+TestMROEntry.test_mro_entry_none.<locals>.Er
   Nr   r
   r   r   rC   r\   7   rD   r   rC   NrE   rF   )r   r2   r   r   r,   r)   rC   r   s   &      @r   test_mro_entry_none TestMROEntry.test_mro_entry_none(   s   	 	 C$aaAY/qf-))A!95Q1f$56aT*vi0))A40QK0r   c                  a . o ! R  R4      p ! V3R lR4      pV! 4       pV P                  S. 4        ! R RW4      pV P                  SR,          W34       V P                  VP                  V\        34       V P                  VP                  W34       V P                  VP                  WA\        \
        34       R# )c                       ] tR t^?tRtR# )4TestMROEntry.test_mro_entry_with_builtins.<locals>.Ar
   Nr   r
   r   r   r2   ra   ?   r   r   r2   c                   .   <a  ] tR t^@t o V3R ltRtV tR# )4TestMROEntry.test_mro_entry_with_builtins.<locals>.Cc                4   < SP                  V4       \        3# r   )r8   dictr:   s   &&r   r    DTestMROEntry.test_mro_entry_with_builtins.<locals>.C.__mro_entries__A   s    e$wr   r
   Nr"   r=   s   @r   r   rc   @   s      r   r   c                       ] tR t^FtRtR# )4TestMROEntry.test_mro_entry_with_builtins.<locals>.Dr
   Nr   r
   r   r   r)   rh   F   r*   r   r)   NrE   )r+   rG   re   rH   rI   rJ   )r   r2   r   r,   r)   r   s   &    @r   test_mro_entry_with_builtins)TestMROEntry.test_mro_entry_with_builtins=   s    	 	 C$aV,q$i0))A62Q4$89r   c                  aa . o ! VV3R  lR4      oS! 4       pV P                  S. 4        ! R RV\        4      pV P                  SR,          V\        34       V P                  VP                  S\        34       V P                  VP                  V\        34       V P                  VP                  VS\        \
        34       R# )c                   0   <a  ] tR t^Nt o VV3R ltRtV tR# )6TestMROEntry.test_mro_entry_with_builtins_2.<locals>.Cc                ,   < SP                  V4       S3# r   rW   )r   r;   r   r   s   &&r   r    FTestMROEntry.test_mro_entry_with_builtins_2.<locals>.C.__mro_entries__O   s    e$tr   r
   Nr"   r$   s   @r   r   rm   N   r&   r   r   c                       ] tR t^TtRtR# )6TestMROEntry.test_mro_entry_with_builtins_2.<locals>.Dr
   Nr   r
   r   r   r)   rq   T   r@   r   r)   NrE   )r+   re   rG   rH   rI   rJ   )r   r,   r)   r   r   s   &  @@r   test_mro_entry_with_builtins_2+TestMROEntry.test_mro_entry_with_builtins_2L   s    	 	 C$4aY/q$i0))At95Q4$89r   c                \    ! R  R4      pV! 4       pV P                  \        4      ;_uu_ 4         ! R RV4      pRRR4        ! R R4      pV! 4       pV P                  \        4      ;_uu_ 4         ! R RV4      pRRR4       R#   + '       g   i     LT; i  + '       g   i     R# ; i)	c                   &   a  ] tR t^[t o R tRtV tR# )6TestMROEntry.test_mro_entry_errors.<locals>.C_too_manyc                    R# rV   r
   )r   r;   	somethingothers   &&&&r   r    FTestMROEntry.test_mro_entry_errors.<locals>.C_too_many.__mro_entries__\       	r   r
   Nr"   r%   s   @r   
C_too_manyrv   [         r   r}   c                       ] tR t^`tRtR# )-TestMROEntry.test_mro_entry_errors.<locals>.Dr
   Nr   r
   r   r   r)   r   `       r   r)   Nc                   &   a  ] tR t^at o R tRtV tR# )5TestMROEntry.test_mro_entry_errors.<locals>.C_too_fewc                    R# rV   r
   r   s   &r   r    ETestMROEntry.test_mro_entry_errors.<locals>.C_too_few.__mro_entries__b   r{   r   r
   Nr"   r|   s   @r   	C_too_fewr   a   r~   r   r   c                       ] tR t^ftRtR# )-TestMROEntry.test_mro_entry_errors.<locals>.Er
   Nr   r
   r   r   rC   r   f   r   r   rC   assertRaises	TypeError)r   r}   r,   r)   r   rK   rC   s   &      r   test_mro_entry_errors"TestMROEntry.test_mro_entry_errorsZ   sz    	 	 Ly))AO *	 	 Ky))AO *) *) *))   B1BB	B+	c                \    ! R  R4      pV! 4       pV P                  \        4      ;_uu_ 4         ! R RV4      pRRR4        ! R R4      pV! 4       pV P                  \        4      ;_uu_ 4         ! R RV4      pRRR4       R#   + '       g   i     LT; i  + '       g   i     R# ; i)	c                       ] tR t^itRtRtR# )<TestMROEntry.test_mro_entry_errors_2.<locals>.C_not_callable	Surprise!r
   N)r   r   r   r   r    r   r
   r   r   C_not_callabler   i   s    )Or   r   c                       ] tR t^mtRtR# )/TestMROEntry.test_mro_entry_errors_2.<locals>.Dr
   Nr   r
   r   r   r)   r   m   r   r   r)   Nc                   &   a  ] tR t^nt o R tRtV tR# )9TestMROEntry.test_mro_entry_errors_2.<locals>.C_not_tuplec                    \         # r   )rJ   r   s   &r   r    ITestMROEntry.test_mro_entry_errors_2.<locals>.C_not_tuple.__mro_entries__o   s    r   r
   Nr"   r|   s   @r   C_not_tupler   n   s      r   r   c                       ] tR t^stRtR# )/TestMROEntry.test_mro_entry_errors_2.<locals>.Er
   Nr   r
   r   r   rC   r   s   r   r   rC   r   )r   r   r,   r)   r   rC   s   &     r   test_mro_entry_errors_2$TestMROEntry.test_mro_entry_errors_2h   sy    	* 	*y))AO *	 	 My))AO *) *) *))r   c                P  aa . o ! V3R  lR\         4      p ! R R4      o ! V3R lR4      pV! 4       p ! R RW1R7      pV P                  S^ ,          V4       V P                  S^,          R4       V P                  S^,          S34       V P                  S^,          R	,          ^4       V P                  VP                  S34       V P                  VP                  V34       V P                  VP                  VS\
        34       V P                  VP                  V4       R
# )c                   6   <a a ] tR t^wt oV V3R ltRtVtV ;t# )3TestMROEntry.test_mro_entry_metaclass.<locals>.Metac                J   < SP                  WW#.4       \        SV `	  WW#4      # r   )r   super__new__)mclsnamer;   nsr9   	meta_argss   &&&&r   r   ;TestMROEntry.test_mro_entry_metaclass.<locals>.Meta.__new__x   s'      $e!89wt5==r   r
   )r   r   r   r   r   r   r#   __classcell__)r9   r%   r   s   @@r   Metar   w   s     > >r   r   c                       ] tR t^{tRtR# )0TestMROEntry.test_mro_entry_metaclass.<locals>.Ar
   Nr   r
   r   r   r2   r   {   r   r   r2   c                   .   <a  ] tR t^|t o V3R ltRtV tR# )0TestMROEntry.test_mro_entry_metaclass.<locals>.Cc                
   < S3# r   r
   )r   r;   r2   s   &&r   r    @TestMROEntry.test_mro_entry_metaclass.<locals>.C.__mro_entries__}   s
    tr   r
   Nr"   )r%   r2   s   @r   r   r   |   s      r   r   c                       ] tR t^t^tRtR# )0TestMROEntry.test_mro_entry_metaclass.<locals>.Dr
   N)r   r   r   r   xr   r
   r   r   r)   r      s    Ar   r)   	metaclassr   N)typer+   rG   rH   rI   rJ   r9   )r   r   r   r,   r)   r2   r   s   &    @@r   test_mro_entry_metaclass%TestMROEntry.test_mro_entry_metaclassu   s    		>4 	> 		 	 C	 	1t,1s+1t,1c*A.qd+))A40Q6N3d+r   c                     ! R  R4      pV! 4       pV P                  \        R4      ;_uu_ 4        \        RV3/ 4       RRR4       R#   + '       g   i     R# ; i)c                   &   a  ] tR t^t o R tRtV tR# )0TestMROEntry.test_mro_entry_type_call.<locals>.Cc                    R# rV   r
   )r   r;   s   &&r   r    @TestMROEntry.test_mro_entry_type_call.<locals>.C.__mro_entries__   r{   r   r
   Nr"   r|   s   @r   r   r      r~   r   r   z+MRO entry resolution; use types.new_class()BadN)assertRaisesRegexr   r   )r   r   r,   s   &  r   test_mro_entry_type_call%TestMROEntry.test_mro_entry_type_call   sT    	 	 C##I%<= = b!= = = =s   A		A	r
   N)r   r   r   r   r-   rL   r]   ri   rr   r   r   r   r   r   r#   r|   s   @r   r   r      s7     (,(1*::,,	" 	"r   r   c                   h   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR tRtV tR# )TestClassGetitemc                   a . o ! V3R  lR4      pV\         \        3,           V P                  S^ ,          V\         \        334       V P                  S^,          / 4       R# )c                   .   <a  ] tR t^t o V3R ltRtV tR# ).TestClassGetitem.test_class_getitem.<locals>.Cc                 ,   < SP                  W.4       R # r   r   )r   r   getitem_argss   *,r   __class_getitem__@TestClassGetitem.test_class_getitem.<locals>.C.__class_getitem__   s    ##TN3r   r
   Nr   r   r   r   r   r   r#   )r%   r   s   @r   r   r      s      r   r   N)intstrr+   )r   r   r   s   & @r   test_class_getitem#TestClassGetitem.test_class_getitem   sO    	 	 	
#s(a1sCj/:a"-r   c                     ! R  R4      pV P                  V\        ,          R4       V P                  W,          R4       R# )c                   &   a  ] tR t^t o R tRtV tR# )5TestClassGetitem.test_class_getitem_format.<locals>.Cc                "    R VP                    R2# )zC[]r   clsitems   &&r   r   GTestClassGetitem.test_class_getitem_format.<locals>.C.__class_getitem__   s    DMM?!,,r   r
   Nr   r|   s   @r   r   r           - -r   r   C[int]zC[C]Nr+   r   )r   r   s   & r   test_class_getitem_format*TestClassGetitem.test_class_getitem_format   s4    	- 	- 	3*v&r   c                     ! R  R4      p ! R RV4      pV P                  V\        ,          R4       V P                  W",          R4       R# )c                   &   a  ] tR t^t o R tRtV tR# ):TestClassGetitem.test_class_getitem_inheritance.<locals>.Cc                :    V P                    R VP                    R2# [r   r   r   s   &&r   r   LTestClassGetitem.test_class_getitem_inheritance.<locals>.C.__class_getitem__       ,,qq99r   r
   Nr   r|   s   @r   r   r           : :r   r   c                       ] tR t^tRtR# ):TestClassGetitem.test_class_getitem_inheritance.<locals>.Dr
   Nr   r
   r   r   r)   r      rD   r   r)   D[int]D[D]Nr   r   r   r)   s   &  r   test_class_getitem_inheritance/TestClassGetitem.test_class_getitem_inheritance   s;    	: 	: 	3*v&r   c                     ! R  R4      p ! R RV4      pV P                  V\        ,          R4       V P                  W",          R4       R# )c                   &   a  ] tR t^t o R tRtV tR# )<TestClassGetitem.test_class_getitem_inheritance_2.<locals>.Cc                    R # )zShould not see thisr
   r   s   &&r   r   NTestClassGetitem.test_class_getitem_inheritance_2.<locals>.C.__class_getitem__   s    ,r   r
   Nr   r|   s   @r   r   r      r   r   r   c                   &   a  ] tR t^t o R tRtV tR# )<TestClassGetitem.test_class_getitem_inheritance_2.<locals>.Dc                :    V P                    R VP                    R2# r   r   r   s   &&r   r   NTestClassGetitem.test_class_getitem_inheritance_2.<locals>.D.__class_getitem__   r   r   r
   Nr   r|   s   @r   r)   r      r   r   r)   r   r   Nr   r   s   &  r    test_class_getitem_inheritance_21TestClassGetitem.test_class_getitem_inheritance_2   s@    	- 	-	: 	: 	3*v&r   c                     ! R  R4      p ! R RV4      pV P                  V\        ,          R4       V P                  W",          R4       R# )c                   0   a  ] tR t^t o ]R 4       tRtV tR# ):TestClassGetitem.test_class_getitem_classmethod.<locals>.Cc                :    V P                    R VP                    R2# r   r   r   s   &&r   r   LTestClassGetitem.test_class_getitem_classmethod.<locals>.C.__class_getitem__   s    ,,qq99r   r
   N)r   r   r   r   classmethodr   r   r#   r|   s   @r   r   r      s     : :r   r   c                       ] tR t^tRtR# ):TestClassGetitem.test_class_getitem_classmethod.<locals>.Dr
   Nr   r
   r   r   r)   r     rD   r   r)   r   r   Nr   r   s   &  r   test_class_getitem_classmethod/TestClassGetitem.test_class_getitem_classmethod   s;    	: 	: 	3*v&r   c                     ! R  R4      p ! R RV4      pV P                  V\        ,          R4       V P                  W",          R4       R# )c                   &   a  ] tR t^t o R tRtV tR# )6TestClassGetitem.test_class_getitem_patched.<locals>.Cc                ,    R  p\        V4      V n        R# )c                 :    V P                    R VP                    R2# r   r   r   s   &&r   r   cTestClassGetitem.test_class_getitem_patched.<locals>.C.__init_subclass__.<locals>.__class_getitem__   s    !ll^1T]]O1==r   N)r  r   )r   r   s   & r   __init_subclass__HTestClassGetitem.test_class_getitem_patched.<locals>.C.__init_subclass__   s    >(34E(F%r   r
   N)r   r   r   r   r  r   r#   r|   s   @r   r   r     s     G Gr   r   c                       ] tR t^tRtR# )6TestClassGetitem.test_class_getitem_patched.<locals>.Dr
   Nr   r
   r   r   r)   r     rD   r   r)   r   r   Nr   r   s   &  r   test_class_getitem_patched+TestClassGetitem.test_class_getitem_patched   s=    	G 	G
 	3*v&r   c                     ! R  R\         4      p ! R RV4      pV P                  VP                  R4       V\        ,           V P                  VP                  \        4       R# )c                   *   a  ] tR t^t o RtR tRtV tR# )<TestClassGetitem.test_class_getitem_with_builtins.<locals>.ANc                    Wn         R # r   )called_withr   s   &&r   r   NTestClassGetitem.test_class_getitem_with_builtins.<locals>.A.__class_getitem__   s    "&r   r
   )r   r   r   r   r  r   r   r#   r|   s   @r   r2   r     s     K' 'r   r2   c                       ] tR t^tRtR# )<TestClassGetitem.test_class_getitem_with_builtins.<locals>.Br
   Nr   r
   r   r   r   r         r   r   N)re   assertIsr  r   )r   r2   r   s   &  r    test_class_getitem_with_builtins1TestClassGetitem.test_class_getitem_with_builtins   sE    	' 	'
	 	ammT*	#ammS)r   c                H    ! R  R4      pV P                  \        4      ;_uu_ 4        V\        ,           RRR4        ! R R4      pV P                  \        4      ;_uu_ 4        V\        ,           RRR4       R#   + '       g   i     LO; i  + '       g   i     R# ; i)c                   &   a  ] tR t^t o R tRtV tR# )=TestClassGetitem.test_class_getitem_errors.<locals>.C_too_fewc                    R # r   r
   )r   s   &r   r   OTestClassGetitem.test_class_getitem_errors.<locals>.C_too_few.__class_getitem__       r   r
   Nr   r|   s   @r   r   r            r   r   Nc                   &   a  ] tR t^t o R tRtV tR# )>TestClassGetitem.test_class_getitem_errors.<locals>.C_too_manyc                    R # r   r
   )r   onetwos   &&&r   r   PTestClassGetitem.test_class_getitem_errors.<locals>.C_too_many.__class_getitem__   r#  r   r
   Nr   r|   s   @r   r}   r&     r$  r   r}   )r   r   r   )r   r   r}   s   &  r   test_class_getitem_errors*TestClassGetitem.test_class_getitem_errors   sl    	 	 y))cN *	 	 y))sO *) *) *))s   A=%B=B	B!	c                    ! R  R4      pV P                  \        4      ;_uu_ 4        V! 4       \        ,           RRR4        ! R R4      pV! 4       pR Vn        V P                  \        4      ;_uu_ 4        V\        ,           RRR4        ! R R4      pV P                  \        4      ;_uu_ 4        V\        ,           RRR4        ! R R	\        4      pV P                  \        R	4      ;_uu_ 4        V\        ,           RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     L{; i  + '       g   i     R# ; i)
c                   &   a  ] tR t^t o R tRtV tR# )7TestClassGetitem.test_class_getitem_errors_2.<locals>.Cc                    R # r   r
   r   s   &&r   r   ITestClassGetitem.test_class_getitem_errors_2.<locals>.C.__class_getitem__   r#  r   r
   Nr   r|   s   @r   r   r/     r$  r   r   Nc                       ] tR t^tRtR# )7TestClassGetitem.test_class_getitem_errors_2.<locals>.Er
   Nr   r
   r   r   rC   r3     r   r   rC   c                     R # )zThis will not workr
   r   s   &&r   <lambda>>TestClassGetitem.test_class_getitem_errors_2.<locals>.<lambda>   s    0Dr   c                       ] tR t^tRtRtR# )DTestClassGetitem.test_class_getitem_errors_2.<locals>.C_not_callabler   r
   Nr   r   r   r   r   r   r
   r   r   r   r8     s     +r   r   c                       ] tR t^tRtRtR# )?TestClassGetitem.test_class_getitem_errors_2.<locals>.C_is_noneNr
   r9  r
   r   r   	C_is_noner;     s     $r   r<  )r   r   r   r   tupler   )r   r   rC   er   r<  s   &     r   test_class_getitem_errors_2,TestClassGetitem.test_class_getitem_errors_2   s    	 	 y))CH * 	CDy))cF *	, 	,y))3 *	% 	%##I{;;cN <;! *) *)
 *)
 <;;s/   D9D$6D79E
D!	$D4	7E	
E	c                ^     ! R  R\         4      pV P                  V\        ,          R4       R# )c                   &   a  ] tR t^t o R tRtV tR# );TestClassGetitem.test_class_getitem_metaclass.<locals>.Metac                :    V P                    R VP                    R2# r   r   r   s   &&r   r   MTestClassGetitem.test_class_getitem_metaclass.<locals>.Meta.__class_getitem__   r   r   r
   Nr   r|   s   @r   r   rC     r   r   r   z	Meta[int]Nr   r+   r   )r   r   s   & r   test_class_getitem_metaclass-TestClassGetitem.test_class_getitem_metaclass   s$    	:4 	: 	cK0r   c                v     ! R  R\         4      p ! R RVR7      pV P                  V\        ,          R4       R# )c                       ] tR tRtRtR# )@TestClassGetitem.test_class_getitem_with_metaclass.<locals>.Metai  r
   Nr   r
   r   r   r   rK    s    $r   r   c                   &   a  ] tR tRt o R tRtV tR# )=TestClassGetitem.test_class_getitem_with_metaclass.<locals>.Ci  c                :    V P                    R VP                    R2# r   r   r   s   &&r   r   OTestClassGetitem.test_class_getitem_with_metaclass.<locals>.C.__class_getitem__  r   r   r
   Nr   r|   s   @r   r   rM    r   r   r   r   r   NrF  r   r   r   s   &  r   !test_class_getitem_with_metaclass2TestClassGetitem.test_class_getitem_with_metaclass  s,    4	:$ 	: 	3*r   c                v     ! R  R\         4      p ! R RVR7      pV P                  V\        ,          R4       R# )c                   &   a  ] tR tRt o R tRtV tR# )ATestClassGetitem.test_class_getitem_metaclass_first.<locals>.Metai  c                    R # )from metaclassr
   r   s   &&r   __getitem__MTestClassGetitem.test_class_getitem_metaclass_first.<locals>.Meta.__getitem__  s    'r   r
   N)r   r   r   r   rX  r   r#   r|   s   @r   r   rU    s     ( (r   r   c                   &   a  ] tR tRt o R tRtV tR# )>TestClassGetitem.test_class_getitem_metaclass_first.<locals>.Ci  c                    R # )zfrom __class_getitem__r
   r   s   &&r   r   PTestClassGetitem.test_class_getitem_metaclass_first.<locals>.C.__class_getitem__  s    /r   r
   Nr   r|   s   @r   r   r[    s     0 0r   r   r   rW  NrF  rP  s   &  r   "test_class_getitem_metaclass_first3TestClassGetitem.test_class_getitem_metaclass_first  s1    	(4 	(	0$ 	0 	3!12r   r
   N)r   r   r   r   r   r   r   r   r  r  r  r+  r?  rG  rQ  r^  r   r#   r|   s   @r   r   r      sF     .'''''
*.1+3 3r   r   c                   &   a  ] tR tRt o R tRtV tR# )CAPITesti  c                   \        R 4      pVP                  pVP                  pV P                  VP	                  \
        4      V4       V\
        ,          pV P                  \        V4      V4       V P                  VP                  R4      \
        34        ! R RV4      pV P                  VP                  \
        34       V P                  VP                  V34       V P                  VP                  V\
        \        34       R# )	_testcapic                       ] tR tRtRtR# ) CAPITest.test_c_class.<locals>.Ci!  r
   Nr   r
   r   r   r   re  !  r  r   r   Nr
   )r   GenericGenericAliasassertIsInstancer   r   r  r   r+   r    rG   rH   rI   rJ   )r   rc  rf  rg  
IntGenericr   s   &     r   test_c_classCAPITest.test_c_class  s    !+.	## --g77<lKS\
d:&533B7#@	
 	sf-))J=9QV$45r   r
   N)r   r   r   r   rj  r   r#   r|   s   @r   ra  ra    s     6 6r   ra  __main__)unittesttestr   test.support.import_helperr   TestCaser   r   cpython_onlyra  r   mainr
   r   r   <module>rs     sw      4N"8$$ N"b{3x(( {3| 	6x   6 6$ zMMO r   