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: //usr/lib/python3/dist-packages/lazr/uri/tests/__pycache__/test_docs.cpython-310.pyc
o

�a�^>�@spdZddlmZeZdgZddlZddlZddlZddl	m
Z
mZmZm
Z
ejejBejBZdd�Zdd�ZdS)	zTest harness for doctests.�)�print_function�
load_testsN)�cleanup_resources�resource_exists�resource_filename�resource_listdirc	CsHg}tdd�r"tdd�D]}|�|�r!|�tj�tdd|���q|S)z(Find doctests matching a certain suffix.zlazr.uri�docszdocs/%s)rr�endswith�append�os�path�abspathr)�suffix�
doctest_files�name�r�:/usr/lib/python3/dist-packages/lazr/uri/tests/test_docs.py�
find_doctests,s

���rcCs0t�t�|�tjtd�dtdtid���|S)zLoad all the doctests.z.rstFr)�module_relative�optionflags�globs)	�atexit�registerr�addTest�doctest�DocFileSuiter�
DOCTEST_FLAGSr)�loader�tests�patternrrrr9s

�)�__doc__�
__future__r�type�
__metaclass__�__all__rrr�
pkg_resourcesrrrr�ELLIPSIS�NORMALIZE_WHITESPACE�REPORT_NDIFFrrrrrrr�<module>s"�	���