Your IP : 216.73.216.196
B
� f�O � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
mZmZm
Z
mZmZmZ ddlZddlZddlZyddlZW n ek
r� dZY nX e�eed�p�ejejkd�Zddd�ZG dd � d ej�ZG d
d� de�ZeG dd
� d
e��Ze dk�re�!� 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�can_symlink�EnvironmentVarGuard�rmtree�_base_executablez:cannot run venv.create from within a venv on this platformc C sB t j| t jt j|d�}|�� \}}|jr:t �|j| ||��||fS )N)�stdout�stderr�encoding)�
subprocess�Popen�PIPEZcommunicate�
returncode�CalledProcessError)�cmdr �p�out�err� r �3/opt/alt/python37/lib64/python3.7/test/test_venv.py�check_output# s r c @ s<