HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //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