Current File : //usr/local/apps/python3/lib/python3.11/distutils/tests/__pycache__/test_util.cpython-311.pyc |
�
�Ke�- � �( � d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z m
Z
ddlmZm
Z
mZmZmZmZmZmZmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlZ G d� d
ej ej � � Zd� Z e!dk r e e � � � � dS dS )zTests for distutils.util.� N)�copy)�run_unittest)�mock)�DistutilsPlatformError�DistutilsByteCompileError) �get_platform�convert_path�change_root�
check_environ�split_quoted� strtobool�
rfc822_escape�byte_compile�grok_environment_error)�util)�get_config_vars)� sysconfig)�supportc � � � e Zd Z� fd�Z� fd�Zd� Zd� Zd� Zd� Zd� Z d� Z
ej e
j d k d
� � d� � � Zd� Zd
� Zd� Zd� Zd� Z� xZS )�UtilTestCasec �Z �� t t | � � � � � t j | _ t
j | _ t
j | _ t j | _ t j j
| _
t j j | _ t j j | _ t t j � � | _ t! t d� � r*t j | _ t j � � | _ nd | _ d | _ | j t _ d S )N�uname)�superr �setUp�os�name�sys�platform�version�sep�path�join�isabs�
splitdriver r �_config_vars�hasattrr �_uname�
_get_uname��self� __class__s ��C/usr/local/apps/python3/lib/python3.11/distutils/tests/test_util.pyr zUtilTestCase.setUp s� �� �
�l�D�!�!�'�'�)�)�)��G�� ����
��{����6����G�L�� ��W�]��
��'�,��� ��!7�8�8��� �2�w��� ���D�J��(�*�*�D�K�K��D�J��D�K��?����� c �& �� | j t _ | j t _ | j t _ | j t _ | j t j _ | j t j _ | j t j _ | j
�| j
t _
nt `
t j �
� � t j � | j � � t t | � � � � � d S �N)r r r r r r r"