HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/test/__pycache__/test_dict.cpython-310.pyc
o

�b��@sVddlmZddlmZddlmZdZgd�ZGdd�dej�Z	Gdd	�d	e�Z
d
S)���dict)�unittest)�SynchronousTestCasesL"This is a dqstring \w\i\t\h boring stuff like: \"" and t\hes\"e are a\to\ms)s,This is a dqstring with boring stuff like: "sandsthes"esaresatomsc@seZdZdd�ZdS)�
ParamTestscCs>g}t}	t�|�\}}|dkrn|�|�q|�|t�dS)z!Testing command response handling�N)�paramStringr�
parseParam�append�assertEqual�
goodparams)�self�params�rest�param�r�8/usr/lib/python3/dist-packages/twisted/test/test_dict.py�testParseParams
��zParamTests.testParseParamN)�__name__�
__module__�__qualname__rrrrrrsrc@seZdZdZdd�ZdS)�DictDeprecationTestsz2
    L{twisted.protocols.dict} is deprecated.
    cCsFddlm}||�|jg�}|�dt|��|�d|dd�dS)zO
        L{twisted.protocols.dict} is deprecated since Twisted 17.9.0.
        rrrzatwisted.protocols.dict was deprecated in Twisted 17.9.0: There is no replacement for this module.�messageN)�twisted.protocolsr�
flushWarnings�test_dictDeprecationr�len)r
r�
warningsShownrrrr's
�z)DictDeprecationTests.test_dictDeprecationN)rrr�__doc__rrrrrr"srN)rr�
twisted.trialr�twisted.trial.unittestrrr�TestCaserrrrrr�<module>s