HEX
Server: nginx/1.28.3
System: Linux lightweb-s1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User: dawonefr-98 (1071)
PHP: 8.3.30
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�