File: //lib64/python3.6/test/support/__pycache__/script_helper.cpython-36.opt-2.pyc
3
i) @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
Z
d dlmZ d dl
mZmZ dadd ZG dd de jdd#Zdd Zd
d Zdd Zdd ZejejdddZdd Zd$ddZd%ddZd&ddZd'd!d"ZdS )( N)source_from_cache)make_legacy_pycstrip_python_stderrc C sV t d krRdtjkrda dS ytjtjdddg W n tjk
rL da Y nX da t S )NZ
PYTHONHOMETz-Ez-czimport sys; sys.exit(0)F)$__cached_interp_requires_environmentosenviron
subprocessZ
check_callsys
executableZCalledProcessError r r 2/usr/lib64/python3.6/test/support/script_helper.py interpreter_requires_environment s
r
c @ s e Zd Zdd ZdS )_PythonRunResultc C s d}| j | j }}t||kr0d|| d }t||krNd|| d }|jddj }|jddj }td| j|||f d S ) NP d s (... truncated stdout ...)s (... truncated stderr ...)asciireplacezRProcess return code is %d
command line: %r
stdout:
---
%s
---
stderr:
---
%s
---i@ )outerrlendecoderstripAssertionErrorrc)selfcmd_linemaxlenr r r r r fail>