HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //usr/lib/python3/dist-packages/twisted/python/test/__pycache__/test_htmlizer.cpython-310.pyc
o

�b��@s<dZddlmZddlmZddlmZGdd�de�ZdS)z'
Tests for L{twisted.python.htmlizer}.
�)�BytesIO)�filter)�TestCasec@s eZdZdZdd�Zdd�ZdS)�FilterTestsz6
    Tests for L{twisted.python.htmlizer.filter}.
    cC�,td�}t�}t||�|�|��d�dS)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�output�r�C/usr/lib/python3/dist-packages/twisted/python/test/test_htmlizer.py�
test_emptys
�zFilterTests.test_emptycCr)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>
Nrrrrr�
test_variables
�zFilterTests.test_variableN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsrN)r�ior�twisted.python.htmlizerr�twisted.trial.unittestrrrrrr�<module>s