| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/tests/plotting/__pycache__/ |
Upload File : |
�
0 �g6
� �� � d dl Z d dlZd dlZd dlmc mZ d dlZej d� � Z ej d� � Z
d� Zd� Zd� Z
d� Zd� Z ej d � d
� � Zd� Zy)� Nc �L � t j d� } t | dd� � | S )N�pandas_dummy_backend�plotc � � y)N�
used_dummy� )�args�kwargss �DC:\Python312\Lib\site-packages\pandas/tests/plotting/test_backend.py�<lambda>zdummy_backend.<locals>.<lambda> s � � )�types�
ModuleType�setattr)�dbs r �
dummy_backendr s% � � � � �0� 1�B��B��<�=�
�Ir
c # �j K � t j dd� 5 d�� ddd� y# 1 sw Y yxY w�w)z*Restore the plotting backend to matplotlib�plotting.backend�
matplotlibN)�pandas�option_contextr r
r �restore_backendr s0 � �� �
� � �1�<� @� �
�� � �s �3�'� 3�0�3c �� � d} t j t | �� 5 t j dd� d d d � t j
j j dk( sJ �y # 1 sw Y �3xY w)Nz9Could not find plotting backend 'not_an_existing_module'.��matchr �not_an_existing_moduler )�pytest�raises�
ValueErrorr �
set_option�options�plotting�backend��msgs r �test_backend_is_not_moduler&