+
    ۓLj                     4    R t ^ RIt^ RIt ! R R4      tR tR# )zN
This module adds context manager for temporary files generated by the tests.
Nc                   |   a  ] tR t^	t o Rt]! R4      t]! R4      t]RR l4       t	]RR l4       t
]R 4       tRtV tR# )	TmpFileManagerzH
A class to track record of every temporary files created by the tests.
 c                <    V P                   P                  V4       V# N)	tmp_filesaddclsnames   &&B/app/.local/lib/python3.14/site-packages/sympy/testing/tmpfiles.pytmp_fileTmpFileManager.tmp_file   s    $    c                <    V P                   P                  V4       V# r   )tmp_foldersr   r	   s   &&r   
tmp_folderTmpFileManager.tmp_folder   s    D!r   c                d   V P                   '       dZ   V P                   P                  4       p\        P                  P	                  V4      '       g   KS  \        P
                  ! V4       Kk  V P                  '       d3   V P                  P                  4       p\        P                  ! V4       KD  R # r   )	r   popospathisfileremover   shutilrmtree)r
   filefolders   &  r   cleanupTmpFileManager.cleanup   sg    mmm==$$&Dww~~d##		$ooo__((*FMM&! r    N)r   )__name__
__module____qualname____firstlineno____doc__setr   r   classmethodr   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   sX      BIb'K    " "r   r   c                   a  V 3R lpV# )zH
A decorator to help test codes remove temporary files after the tests.
c                  r   <  S ! 4        \         P                  4        R #   \         P                  4        i ; ir   )r   r   )	test_funcs   r   wrapper_function+cleanup_tmp_files.<locals>.wrapper_function(   s&    	%K""$N""$s     6r    )r-   r.   s   f r   cleanup_tmp_filesr0   $   s    % r   )r%   r   r   r   r0   r    r   r   <module>r1      s!     	" "6
r   