Your IP : 216.73.216.85
3
� fG � @ s* d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl m
Z
mZmZm
Z
mZmZ ddlZddlZyddlZW n ek
r� dZY nX yddlZW n ek
r� dZY nX ejejejkd�Zddd�ZG dd� dej�ZG d d
� d
e�ZeG dd� de��Zed
k�r&ej� 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�rmtreezTest not appropriate in a venvc C sB t j| t jt j|d�}|j� \}}|jr:t j|j| ||��||fS )N)�stdout�stderr�encoding)�
subprocess�Popen�PIPEZcommunicate�
returncode�CalledProcessError)�cmdr
�p�out�err� r �3/opt/alt/python36/lib64/python3.6/test/test_venv.py�check_output# s r c @ s<