PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : //opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/parser.cpython-311.pyc |
�
�|oi� � � � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZm Z m
Z
mZmZm
Z
d dlZd dlmZ dZn
# e$ r dZY nw xY w G d� d � � ZdS )
� N)�StringIO)� Directive)�Bail�
Diagnostic�Plan�Result�Unknown�Version)�peekableTFc � � e Zd ZdZdZ ej dez ej � � Z ej dez ej � � Z ej dej � � Z
ej d� � Z ej dej � � Z ej d� � Z
ej d � � Z ej d
� � ZdZd� Zd
� Zd� Zd� Zdd�Zd� Zdd�Zd� Zd� ZdS )�Parserz!A parser for TAP files and lines.a�
\s* # Optional whitespace.
(?P<number>\d*) # Optional test number.
\s* # Optional whitespace.
(?P<description>[^#]*) # Optional description before #.
\#? # Optional directive marker.
\s* # Optional whitespace.
(?P<directive>.*) # Optional directive text.
z^okz^not\ oka~
^1..(?P<expected>\d+) # Match the plan details.
[^#]* # Consume any non-hash character to confirm only
# directives appear with the plan details.
\#? # Optional directive marker.
\s* # Optional whitespace.
(?P<directive>.*) # Optional directive text.
z^#zq
^Bail\ out!
\s* # Optional whitespace.
(?P<reason>.*) # Optional reason.
z^TAP version (?P<version>\d+)$z^(?P<indent>\s+)-z
^\s+\.\.\.�
c �F � | � t |� � � � S )z�Parse a TAP file to an iterable of tap.line.Line objects.
This is a generator method that will yield an object for each
parsed line. The file given by `filename` is assumed to exist.
)�parse�open)�self�filenames �\/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/tap/parser.py�
parse_filezParser.parse_file<