File: //usr/local/lib/python3.7/test/test_tools/__pycache__/__init__.cpython-37.pyc
B
"��g9 � @ s� d Z ddlZddlZddlZddlmZ ej�ej�ej�ej�e����Z ej�
e d�Zej�
ed�Zdd� Z
dd � Zd
d� ZdS )z=Support functions for testing scripts in the Tools directory.� N)�supportZToolsZscriptsc C s t j�t�st�d��d S )Nz$scripts directory could not be found)�os�path�isdir�
scriptsdir�unittestZSkipTest� r r �4/usr/local/lib/python3.7/test/test_tools/__init__.py�skip_if_missing s r
c C s t �t�� t�| �S Q R X d S )N)r Z
DirsOnSysPathr � importlib�
import_module)Ztoolnamer r r �import_tool s r
c G s t jtj�t�f| �� S )N)r Zload_package_testsr r �dirname�__file__)�argsr r r �
load_tests s r )�__doc__r r r Ztestr r r r Zbasepath�joinZtoolsdirr r
r
r r r r r �<module> s