Sindbad~EG File Manager
�
SԚg�2 � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ ddl m
Z
G d� de� � Z G d� d � � Z
dS )
� N)�support)� os_helper� )�
print_warningc � � e Zd ZdS )�SkipTestEnvironmentN)�__name__�
__module__�__qualname__� � �6/usr/local/lib/python3.11/test/libregrtest/save_env.pyr r
s � � � � � ��Dr
r c � � e Zd ZdZd� 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.d-� Z/d.� Z0d/� Z1d0� Z2d1� Z3d2� Z4d3� Z5d4� Z6d5� Z7d6� Z8d7� Z9d8� e:e;� � D � � Z<d9� Z=d:� Z>d;� Z?d<� Z@d=� ZAd>� ZBd?� ZCd@S )A�saved_test_environmenta� Save bits of the test environment and restore them at block exit.
with saved_test_environment(test_name, 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.
c �>