HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/hyperlink/test/__pycache__/test_parse.cpython-38.pyc
U

�S�\9�@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)�TestURLc	Cs�tt�}t|t�st�|jdks$t�|�d�dgks8t�|jdksFt�ttdd�}t|t�s`t�|�d�dgkstt�|�	t
��tt�}W5QRXttdd	�}|�	t
��|jW5QRXdS)
N�userZzotz23%ufrégF)Zdecodedz23%25T)Zlazy)r�	TOTAL_URL�
isinstancer�AssertionErrorr	�getZfragmentrZassertRaises�UnicodeDecodeError�UNDECODABLE_FRAG_URL)�selfZpurlZpurl2Zpurl3�r�;/usr/lib/python3/dist-packages/hyperlink/test/test_parse.py�
test_parseszTestURL.test_parseN)�__name__�
__module__�__qualname__rrrrrrsrN)Z
__future__r�commonrZ	hyperlinkrrrZ	BASIC_URLr
rrrrrr�<module>s