File: D:/Python311/Lib/distutils/tests/__pycache__/test_core.cpython-311.opt-1.pyc
�
��Vc� � �� � d Z ddlZddlZddlZddlZddlZddlmZm Z ddlm
Z
ddlZddlm
Z
ddlmZ dZdZd Zd
Z G d� de
j ej � � Zd
� Zedk r e e� � � � dS dS )zTests for distutils.core.� N)�captured_stdout�run_unittest)� os_helper)�support)�logz4
__file__
from distutils.core import setup
setup()
zH
import os
print(os.getcwd())
from distutils.core import setup
setup()
z)from distutils.core import setup
setup()
z�from distutils.core import setup
from distutils.command.install import install as _install
class install(_install):
sub_commands = _install.sub_commands + ['cmd']
setup(cmdclass={'install': install})
c �` � � e Zd Z� fd�Z� fd�Zd� Zej fd�Zd� Z d� Z
d� Zd� Zd � Z
� xZS )
�CoreTestCasec �H �� t t | � � � � � t j | _ | � � � t j t j d d � f| _ | � t j t j j
� � d S �N)�superr �setUp�sys�stdout�
old_stdout�cleanup_testfn�argv�old_argv�
addCleanupr �
set_threshold�_global_log� threshold��self� __class__s ��-D:\Python311\Lib\distutils\tests\test_core.pyr
zCoreTestCase.setUp2 st �� �
�l�D�!�!�'�'�)�)�)��*�����������#�(�1�1�1�+�-��
�����)�3�?�+D�E�E�E�E�E� c � �� | j t _ | � � � | j d t _ | j d t j d d �<