Your IP : 216.73.216.85
o
0�ii � @ s@ d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlm
Z
mZmZmZ ddlmZmZmZ ddlZddlZddlmZ zddlZW n eyc dZY nw e�e je jkpqe je jkd�Z ddd�Z!G d d
� d
ej"�Z#G dd� de#�Z$e G d
d� de#��Z%e&dkr�e�'� dS dS )z|
Test harness for the venv module.
Copyright (C) 2011-2012 Vinay Sajip.
Licensed to the PSF under a contributor agreement.
� N)�captured_stdout�captured_stderr�
requires_zlib�*skip_if_broken_multiprocessing_synchronize)�can_symlink�EnvironmentVarGuard�rmtree)�patchz:cannot run venv.create from within a venv on this platformc C sB t j| t jt j|d�}|�� \}}|jrt �|j| ||��||fS )N)�stdout�stderr�encoding)�
subprocess�Popen�PIPEZcommunicate�
returncode�CalledProcessError)�cmdr �p�out�err� r �5/opt/alt/python310/lib64/python3.10/test/test_venv.py�check_output&