Sindbad~EG File Manager
�
'ΜgV � � � d dl Z d dlmZ d dlZd dlmZmZ d dlmZm Z m
Z
d dlmZm
Z
d dlZd dlZd dlmZ d dlZd dlmZ d dlmZ d � Zd
� Zd� Zd� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d� Z"d� Z# G d� de$� Z% G d� dejL � Z' G d� dejL � Z( G d� dejL � Z) G d� d ejL � Z* G d!� d"ejL � Z+ G d#� d$ejL � Z, G d%� d&ejL � Z- G d'� d(ejL � Z. G d)� d*ejL � Z/e0d+k( r ejb � yy),� N)�dump)�captured_stdout�requires_resource)�TESTFN�rmtree�unlink��assert_python_ok�assert_python_failure)�FunctionType)�Trace)�testmodc �2 � | j d� r| dd } | S )z8Given a .pyc filename converts it to the appropriate .pyz.pycN���)�endswith)�filenames �,/usr/local/lib/python3.12/test/test_trace.py�
fix_ext_pyr s � ����� ��C�R�=���O� c � � t j j t j j t � � d } t t � | fS )z4The .py file and module name of this file (__file__)r )�os�path�splitext�basename�__file__r )�modnames r �my_file_and_modnamer s: � ��g�g���r�w�w�/�/��9�:�1�=�G��h���(�(r c �. � | j j S �N)�__code__�co_firstlineno��funcs r �get_firstlinenor$ "