Ë
    ìmxi¦  ã                   óÜ  — d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm	Z	m
Z
mZ d dlmZ  e	dd¬«      d„ «       Z e	e ej                  d«      d	d
¬«      d„ «       Z e	edd¬«      d„ «       Z e	edd¬«      d„ «       Z e	edd¬«      d„ «       Z e	d¬«      d„ «       Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zej:                  j=                  ej>                  d k7  d!¬"«      d#„ «       Z y)$é    N)ÚdocÚ!_break_traceback_cycle_from_frameÚdownload_tzdata_on_windows)Údisabled_gcÚfunc_aÚA)ÚmethodÚ	operationc                  ó   — y)zD
    This is the {method} method.

    It computes {operation}.
    N© ©Úwhatevers    úN/home/htdocs/ttos/venv/lib/python3.12/site-packages/pyarrow/tests/test_util.pyr   r   !   s   € ð 	ó    zK
        Examples
        --------

        >>> func_b()
        B
        Úfunc_bÚBc                  ó   — y ©Nr   r   s    r   r   r   +   s   € ð 	r   Úfunc_cÚCc                  ó   — y)z7
    Examples
    --------

    >>> func_c()
    C
    Nr   r   s    r   r   r   =   s   € ð 	r   Úfunc_dÚDc                  ó   — y r   r   r   s    r   r   r   M   ó   € àr   Úfunc_eÚEc                  ó   — y r   r   r   s    r   r   r   R   r   r   Úfunc_f)r	   c                  ó   — y)zÞ
    This is the {method} method.

    {{ We can escape curly braces like this. }}

    Examples
    --------
    We should replace curly brace usage in doctests.

    >>> dict(x = "x", y = "y")
    >>> set((1, 2, 3))
    Nr   r   s    r   r   r   W   s   € ð 	r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )NzD
        This is the func_a method.

        It computes A.
        )ÚtextwrapÚdedentr   Ú__doc__©Údocstrs    r   Útest_docstring_formattingr'   h   ó)   € Ü�_‰_ð	ó€Fô �>‰>˜VÒ#Ð#Ñ#r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )Nz‡
        This is the func_b method.

        It computes B.

        Examples
        --------

        >>> func_b()
        B
        )r"   r#   r   r$   r%   s    r   Útest_docstring_concatenationr*   s   ó)   € Ü�_‰_ð
	ó€Fô �>‰>˜VÒ#Ð#Ñ#r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )Nz‡
        This is the func_c method.

        It computes C.

        Examples
        --------

        >>> func_c()
        C
        )r"   r#   r   r$   r%   s    r   Útest_docstring_appendr-   „   r+   r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )NzD
        This is the func_d method.

        It computes D.
        )r"   r#   r   r$   r%   s    r   Ú%test_docstring_template_from_callabler/   •   r(   r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )NzD
        This is the func_e method.

        It computes E.
        )r"   r#   r   r$   r%   s    r   Ú-test_inherit_docstring_template_from_callabler1       r(   r   c                  óX   — t        j                  d«      } t        j                  | k(  sJ ‚y )Nzú
        This is the func_f method.

        { We can escape curly braces like this. }

        Examples
        --------
        We should replace curly brace usage in doctests.

        >>> dict(x = "x", y = "y")
        >>> set((1, 2, 3))
        )r"   r#   r   r$   r%   s    r   Útest_escaping_in_docstringr3   «   s)   € Ü�_‰_ð	ó€Fô �>‰>˜VÒ#Ð#Ñ#r   c                  ó†   — t        «       } t        j                  t        j                  «       t	        j
                  | «      S r   )ÚsetÚsignalÚ	getsignalÚSIGINTÚweakrefÚref)Úobjs    r   Úexhibit_signal_refcycler<   ½   s,   € ô
 ‹%€CÜ
×Ñ”V—]‘]Ô#Ü�;‰;�sÓÐr   c                  ój  — t        «       5  t        «       }  | «       €t        j                  d«       d d d «       t	        j
                  «        t        «       5  t        «       }  | «       €J ‚t        t        j                  d«      «        | «       �J ‚	 d d d «       y # 1 sw Y   ŒlxY w# 1 sw Y   y xY w)Nz6Python version does not have the bug we're testing forr   )	r   r<   ÚpytestÚskipÚgcÚcollectr   ÚsysÚ	_getframe)Úwrs    r   Útest_signal_refcyclerE   Ç   sœ   € ä	‹ñ JÜ$Ó&ˆÙ‹4ˆ<Ü�K‰KØHôJ÷Jô ‡J�J„LÜ	‹ñ Ü$Ó&ˆÙ‹tÐÐÐÜ)¬#¯-©-¸Ó*:Ô;Ù‹tˆ|Ð‰|÷	ð ÷Jð Jú÷ð ús   ‹'BÁ;B)ÂB&Â)B2Úwin32z&Timezone database is already provided.)Úreasonc                  ó.  — t         j                  j                  d«      } t         j                  j                  | «      rt	        j
                  | «       t        «        t         j                  j                  | «      sJ ‚t         j                  j                  t         j                  j                  | d«      «      sJ ‚t         j                  j                  t         j                  j                  | d«      «      sJ ‚dt        j                  | «      v sJ ‚y )Nz%USERPROFILE%\Downloads\tzdatazwindowsZones.xmlÚeuropeÚversion)	ÚosÚpathÚ
expandvarsÚexistsÚshutilÚrmtreer   ÚjoinÚlistdir)Útzdata_paths    r   Útest_download_tzdata_on_windowsrT   ×   s·   € ô —'‘'×$Ñ$Ð%FÓG€Kô 	�‰�‰�{Ô#Ü�‰�kÔ"ÜÔ ô �7‰7�>‰>˜+Ô&Ð&Ð&Ü�7‰7�>‰>œ"Ÿ'™'Ÿ,™, {Ð4FÓGÔHÐHÐHÜ�7‰7�>‰>œ"Ÿ'™'Ÿ,™, {°HÓ=Ô>Ð>Ð>ØœŸ
™
 ;Ó/Ñ/Ð/Ñ/r   )!r@   rK   r6   rO   rB   r"   r9   r>   Úpyarrow.utilr   r   r   Úpyarrow.tests.utilr   r   r#   r   r   r   r   r   r'   r*   r-   r/   r1   r3   r<   rE   ÚmarkÚskipifÚplatformrT   r   r   r   ú<module>rZ      sS  ðó$ 
Û 	Û Û Û 
Û Û ã ÷6ñ 6å *ñ ˆH Ô$ñ	ó %ð	ñ Ø
Ø€H‡O�Oð	óð Øôñ	óð	ñ Ø
ØØôñ
	óð
	ñ €V�H¨Ô,ñ	ó -ð	ñ €V�H¨Ô,ñ	ó -ð	ñ ˆHÔñ	ó ð	ò $ò$ò"$ò"$ò$ò$ò$òð  ‡�×Ñ�C—L‘L GÑ+ØCð ó Eñ0óEñ0r   