ok

Mini Shell

Direktori : /proc/thread-self/root/lib/python2.7/site-packages/pip/_vendor/webencodings/
Upload File :
Current File : //proc/thread-self/root/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyo

�
��abc@s�dZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZd�Z
d�Zd�Zd�Zd	�Zd
�Zd�Zd�Zd
�ZdS(u�

    webencodings.tests
    ~~~~~~~~~~~~~~~~~~

    A basic test suite for Encoding.

    :copyright: Copyright 2012 by Simon Sapin
    :license: BSD, see LICENSE for details.

i����(tunicode_literalsi(	tlookuptLABELStdecodetencodetiter_decodetiter_encodetIncrementalDecodertIncrementalEncodertUTF8cOs:y|||�Wn|k
r%dSXtd|��dS(NuDid not raise %s.(tAssertionError(t	exceptiontfunctiontargstkwargs((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyt
assert_raisess

cCsdS(N((((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_labelsscCs�x\tD]T}x3dddgD]"}tdg||�\}}qWt|�}t|�}qWxttj��D]}qrWdS(Niiit(RRRRtsettvalues(tlabeltrepeattoutputt_tdecodertencodertname((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_all_labels0s
cCsptttdd�tttdd�tttgd�tttgd�tttd�tttd�dS(Nséuinvalidué(RtLookupErrorRRRRRR(((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_invalid_labelCscCsdS(N((((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_decodeLscCsdS(N((((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_encodebscCs
d�}dS(NcSs"t||�\}}dj|�S(Nu(Rtjoin(tinputtfallback_encodingRt	_encoding((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pytiter_decode_to_stringls((R$((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_iter_decodeks	cCsdS(N((((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_iter_encode�scCsd}d}d}d}dS(Ns2,O�#�ɻtϨ�u2,O#ttaauaa((tencodedtdecoded((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyttest_x_user_defined�s
N(t__doc__t
__future__RRRRRRRRRRR	RRRRRRR%R&R*(((sB/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/tests.pyt<module>s@											

Zerion Mini Shell 1.0