�
*�Kg�2 � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dl m
Z
G d� de� � Z G d� d� � Z
dS ) � N)�support)� os_helper)�
print_warningc � � e Zd ZdS )�SkipTestEnvironmentN)�__name__�
__module__�__qualname__� � �0/usr/lib/python3.11/test/libregrtest/save_env.pyr r s � � � � � ��Dr r c � � e Zd ZdZdDdd�d�ZdZd� Zd� Zd � Zd
� Z d� Z
d� Zd
� Zd� Z
d� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd � Zd!� Z d"� Z!d#� Z"d$� Z#d%� Z$d&� Z%d'� Z&d(� Z'd)� Z(d*� Z)d+� Z*d,� Z+d-� Z,d.� Z-d/� Z.d0� Z/d1� Z0d2� Z1d3� Z2d4� Z3d5� Z4d6� Z5d7� Z6d8� Z7d9� Z8d:� Z9d;� e:e;� � D � � Z<d<� Z=d=� Z>d>� Z?d?� Z@d@� ZAdA� ZBdB� ZCdCS )E�saved_test_environmenta� Save bits of the test environment and restore them at block exit.
with saved_test_environment(testname, verbose, quiet):
#stuff
Unless quiet is True, a warning is printed to stderr if any of
the saved items was changed by the test. The support.environment_altered
attribute is set to True if a change is detected.
If verbose is more than 1, the before and after state of changed
items is also printed.
r F)�pgoc �> |