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: //lib/python3/dist-packages/hyperlink/test/__pycache__/test_parse.cpython-310.pyc
o

�(_S�@sPddlmZddlmZddlmZmZmZdZdZ	e	dZ
Gdd	�d	e�Zd
S)�)�unicode_literals�)�HyperlinkTestCase)�parse�
EncodedURL�
DecodedURLzhttp://example.com/#uahttps://%75%73%65%72:%00%00%00%00@xn--bcher-kva.ch:8080/a/nice%20nice/./path/?zot=23%25&zut#frégz%C3c@seZdZdd�ZdS)�TestURLcCs�tt�}t|t�sJ�|jdksJ�|�d�dgksJ�|jdks#J�ttdd�}t|t�s0J�|�d�dgks:J�|�t	��tt
�}Wd�n1sNwYtt
dd	�}|�t	��|jWd�dS1smwYdS)
N�user�zotz23%ufrégF)�decodedz23%25T)�lazy)r�	TOTAL_URL�
isinstancerr	�get�fragmentr�assertRaises�UnicodeDecodeError�UNDECODABLE_FRAG_URL)�self�purl�purl2�purl3�r�;/usr/lib/python3/dist-packages/hyperlink/test/test_parse.py�
test_parses
�"�zTestURL.test_parseN)�__name__�
__module__�__qualname__rrrrrrsrN)�
__future__r�commonr�	hyperlinkrrr�	BASIC_URLr
rrrrrr�<module>s�