File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test__xxsubinterpreters.cpython-312.opt-2.pyc
�
�h�e�m � �J � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlZd dlZd dl Z d dl
mZ d dlm
Z
d dlmZ e
j d� Zd� Zd%d�Zd%d �Ze j( d
� � Zd� Z G d� d
ej. � Z G d� dej. � Z G d� dej. � Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z! G d � d!e� Z" G d"� d#e� Z#e$d$k( r ejJ � yy)&� N)�dedent)�support)�
import_helper)�
script_helper�_xxsubinterpretersc � � t j � \ }}| j dd� }t d|� d|� d�� }|t |d�� fS )N�
z
z-
import contextlib
with open(zg, 'w', encoding="utf-8") as spipe:
with contextlib.redirect_stdout(spipe):
z
�utf-8��encoding)�os�pipe�replacer �open)�script�r�w�indented�wrappeds �C/opt/alt/python312/lib64/python3.12/test/test__xxsubinterpreters.py�_captured_scriptr s^ � �
�7�7�9�D�A�q��~�~�d�$8�9�H�� ��#� ��
� � �
�G� �D��W�-�-�-� c � � t |� \ }}|5 t j | ||� |j � cd d d � S # 1 sw Y y xY w�N)r �interpreters�
run_string�read)�interp�request�sharedr �rpipes r �_run_outputr"