pxo T d dl Z d dlZd dlmZ d dlmZ d dlmZ G d d ZdS ) N)Adapter)Parser)Rulesc P e Zd ZdZ eddg Zd Zd Zd Zd Z d Z d Zd S )Loaderz*Load TAP lines into unittest-able objects. diagnosticunknownc , t | _ d S )N)r _parser)selfs \/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/tap/loader.py__init__zLoader.__init__ s xx c t j }|D ]`}t j | r| || 8| | | a|S )zLoad any files found into a suite. Any directories are walked and their files are added as TAP files. :returns: A ``unittest.TestSuite`` instance )unittest TestSuiteospathisdir_find_tests_in_directoryaddTestload_suite_from_file)r filessuitefilepaths r loadzLoader.load s{ "$$ C CHw}}X&&