Sindbad~EG File Manager
�
SԚg4y � �Z � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m
Z
d dlmZm
Z
mZmZ d dlZd dlZd dlmZ d dlZn
# e$ r dZY nw xY we
j s ej d� � �dZdd �Zd
� Zed� � � Z G d� d
ej � � Zedk r ej � � dS dS )� )�contextmanagerN)�support)� os_helper�
script_helper�
is_android�
MS_WINDOWS)�dedentztest module requires subprocessg �?� c �d � |}|d| z z
}|d|z z
}d|k rd|dz |dz
z z |z S d|z dz S )Nz# File "<string>", line %s in func
z& File "<string>", line %s in <module>r
�^�
�$� )�lineno1�lineno2�header� min_count�regexs �3/usr/local/lib/python3.11/test/test_faulthandler.py�expected_tracebackr s\ � ��E� �
3�g�
=�=�E� �
5��
?�?�E��9�}�}��e�d�l�y�1�}�5�5��=�=��U�{�S� � � c �H � t j t d� � | � � S )Nz(raising SIGSEGV on Android is unreliable)�unittest�skipIfr )�tests r �skip_segfault_on_androidr # s2 � �G�8�?�:�E�G� G�GK�M� M� Mr c # � K � t j � � } | V � t j | � � d S # t j | � � w xY w�N)�tempfile�mktempr �unlink��filenames r �temporary_filenamer$ ( sO � � � ��� � �H�#��������"�"�"�"�"�� ���"�"�"�"���s �1 �Ac � � e Zd ZdQd�Zddddddddd�d�ZdRd�Zd � Z ej e j
� d
� � d� � d� � � Ze
d
� � � Ze
d� � � Zd� Zd� Z ej e j
dk d� � d� � � Z ej edu d� � ej eed� � d� � e
d� � � � � � � Z ej edu d� � ej eed� � d� � e
d� � � � � � � Zd� Zd� Zd� Z ej e j
� d� � d� � ej eed � � d!� � d"� � � � � Ze
d#� � � Ze
d$� � � Z ej e j
dk d%� � e
d&� � � � � Z e
d'� � � Z!e
d(� � � Z"e
d)� � � Z#d*� Z$ e%j&