Sindbad~EG File Manager
�
)Μgv � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlm Z m
Z
d dlmZm
Z
mZ d dlmZ d9d�Ze j$ d� � Zd� Zd� Zd � Zd
� Zd� Zd� Zd
� Zd� Zd� Zd� Zd� Z G d� d� Z G d� d� Z G d� d� Z! G d� d� Z" G d� d� Z# G d� d� Z$ G d� d� Z% G d � d!� Z& G d"� d#� Z' G d$� d%ejP � Z) G d&� d'� Z* G d(� d)e+� Z, ejZ ej\ d*k d+� G d,� d-ejP � � Z/ G d.� d/ejP � Z0 G d0� d1ejP � Z1 G d2� d3e1� Z2 G d4� d5e1� Z3 G d6� d7e1� Z4e5d8k( r ejl � yy):� N)�Mock�patch)�
bigmemtest�catch_unraisable_exception�
gc_collect)�cx_limitc � � ��� � ��fd�}|S )Nc �~ �� �� �rt j �� nd �t j � � ��� �fd�� }|S )Nc � �� t � 5 }t | |���� 5 �| g|��i |�� d d d � d d d � �| g|��i |�� y # 1 sw Y �xY w# 1 sw Y �"xY w�N)r �check_tracebacks)�self�args�kwargs�cm�_regex�exc�func�names �����A/usr/local/lib/python3.12/test/test_sqlite3/test_userfunctions.py�wrapperz3with_tracebacks.<locals>.decorator.<locals>.wrapper* s_ �� �+�-��%�d�B��V�T�B���/��/��/� C� .�
��'��'��'� C�B�� .�-�s! �A�
A�A�A �A�A)�re�compile� functools�wraps)r r r r r �regexs ` @���r � decoratorz"with_tracebacks.<locals>.decorator( s7 �� �&+����E�"��� ���� � (�
� (� �� � )r r r r s ``` r �with_tracebacksr &