
    daf                     l    d dl Z d dlZ G d dej                        Zedk(  r ej
                          yy)    Nc                       e Zd Zd Zd Zy)
FLUFLTestsc                    d}t        |j                  d      ddt        j                         | j	                  t
              5 }t        |j                  d      ddt        j                         d d d        | j                  t        j                        d       | j                  d|j                  j                         | j                  |j                  j                  d       | j                  |j                  j                  d	       | j                  |j                  j                  d
       y # 1 sw Y   xY w)Nz-from __future__ import barry_as_FLUFL
2 {0} 3<><BDFL test>exec!=<FLUFL test>z,with Barry as BDFL, use '<>' instead of '!='z2 != 3      )compileformat
__future__CO_FUTURE_BARRY_AS_BDFLassertRaisesSyntaxErrorassertRegexstr	exceptionassertIntextassertEqualfilenamelinenooffsetselfcodecms      */root/Python-3.12.4/Lib/test/test_flufl.pytest_barry_as_bdflzFLUFLTests.test_barry_as_bdfl   s    ?D!=&22	4{+ 	8rDKK%~v668	8 	R\\*G	Ih 1 12..?,,a0 	,,a0	8 	8s   ,D55D>c                 F   d}t        |j                  d      dd       | j                  t              5 }t        |j                  d      dd       d d d        | j	                  t        j                        d       | j                  d|j                  j                         | j                  |j                  j                  d       | j                  |j                  j                  d	       | j                  |j                  j                  d
       y # 1 sw Y   xY w)Nz2 {0} 3r	   r   r   r   r
   zinvalid syntaxz2 <> 3   r   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   s      r    test_guido_as_bdflzFLUFLTests.test_guido_as_bdfl   s    D!=&9{+ 	?rDKK%~v>	?R\\*,<=h 1 12..?,,a0 	,,a0	? 	?s   DD N)__name__
__module____qualname__r!   r$        r    r   r      s    1"1r)   r   __main__)r   unittestTestCaser   r%   mainr(   r)   r    <module>r.      s8     1"" 1B zHMMO r)   