| 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 : /usr/lib/python3/dist-packages/matplotlib/tests/__pycache__/ |
Upload File : |
�
G8�cD
� �l � d dl Z d dlZd dlZd dlZd dlZej
j
dg d�� d� � Zej
j e j dk( d�� ej
j e j dk7 xr e j � d k( d�� d � � � Zd
� Zd� Z
d� Zy)
� Nzversion_str, version_tuple))z3.5.0)� � r �finalr )z3.5.0rc2)r r r � candidate� )z3.5.0.dev820+g6768ef8c4c)r r r �alpha�4 )z3.5.0.post820+g6768ef8c4c)r r � r r c �8 � t j | � |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 � � t j | � j } t j | d� t j
t j ddgi t j �dt | � i�t j dd�� }d|j v sJ � t j | |� y# t j | |� w xY w) 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 � � t j t j ddgi t j
�dt
| � i�d�� y )Nr zOimport pathlib; pathlib.Path.home = lambda *args: 1/0; import matplotlib.pyplotr T)r r )r r! r"