| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/_pytest/mark/__pycache__/ |
Upload File : |
�
��c� � �� � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ ddlZd d
gZ
G d� dej � � Z ej d
d
d
�� � G d� d� � � � Z G d� d
e� � Z G d� d� � ZdZdedej fd�Zdedej fd�Zdedej fd�Zdedej fd�Z G d� deeef � � Z G d� d � � ZdS )a� Evaluate match expressions, as used by `-k` and `-m`.
The grammar is:
expression: expr? EOF
expr: and_expr ('or' and_expr)*
and_expr: not_expr ('and' not_expr)*
not_expr: 'not' not_expr | '(' expr ')' | ident
ident: (\w|:|\+|-|\.|\[|\]|\\|/)+
The semantics are:
- Empty expression evaluates to False.
- ident evaluates to True of False according to a provided matcher function.
- or/and/not evaluate according to the usual boolean semantics.
� N)�Callable)�Iterator)�Mapping)�NoReturn)�Optional)�Sequence�
Expression�
ParseErrorc �* � e Zd ZdZdZdZdZdZdZdZ dS ) � TokenTypezleft parenthesiszright parenthesis�or�and�not�
identifierzend of inputN)
�__name__�
__module__�__qualname__�LPAREN�RPAREN�OR�AND�NOT�IDENT�EOF� � �9/usr/lib/python3/dist-packages/_pytest/mark/expression.pyr r % s1 � � � � � �
�F�
�F�
�B�
�C�
�C��E�
�C�C�Cr r T)�frozen�slots�auto_attribsc �. � e Zd ZU eed<