
    ;e8                     v    d dl Z d dlZd dlmZ  G d dej                  Zedk    r ej                     dS dS )    N)supportc                       e Zd Zd Zd ZdS )
FLUFLTestsc                 z   d}t          |                    d          ddt          j                   |                     t
                    5 }t          |                    d          ddt          j                   d d d            n# 1 swxY w Y   |                     t          |j                  d           | 	                    d|j        j
                   |                     |j        j        d           |                     |j        j        d	           |                     |j        j        d
           d S )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      &/usr/lib/python3.11/test/test_flufl.pytest_barry_as_bdflzFLUFLTests.test_barry_as_bdfl   s_   ?D!!=&2	4 	4 	4{++ 	8rDKK%%~v68 8 8	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	8 	R\**G	I 	I 	Ih 1222.???,a000 	,a00000s   0BBBc                 N   d}t          |                    d          dd           |                     t                    5 }t          |                    d          dd           d d d            n# 1 swxY w Y   |                     t          |j                  d           |                     d|j        j                   | 	                    |j        j
        d           | 	                    |j        j        d	           | 	                    |j        j        d
           d S )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99{++ 	?rDKK%%~v>>>	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	?R\**,<===h 1222.???,a000 	,a00000s   %A22A69A6N)__name__
__module____qualname__r"   r%        r!   r   r      s2        1 1 1"1 1 1 1 1r*   r   __main__)r   unittesttestr   TestCaser   r&   mainr)   r*   r!   <module>r0      s              1 1 1 1 1" 1 1 1B zHMOOOOO r*   