| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/datasets/tests/__pycache__/ |
Upload File : |
�
d�c� � �� � d dl mZ d dlmZ d dlmZ d dlmZmZm Z m
Z
d dlmZm
Z
d dlZd dlZ d dlZn# e$ r ed� � �w xY wej Zd� Z G d � d
� � Zd� ZdS )� )�registry)�data_fetcher)�_clear_cache)�ascent�face�electrocardiogram�download_all)�assert_equal�assert_almost_equalNzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.c �t � t j � | � � sdS t j | � � |k S )z1Check if the provided path has the expected hash.F)�os�path�exists�pooch� file_hash)r �
expected_hashs �@/usr/lib/python3/dist-packages/scipy/datasets/tests/test_data.py� _has_hashr s2 � �
�7�>�>�$��� ��u��?�4� � �M�1�1� c �\ � e Zd Z ej dd�� � d� � � Zd� Zd� Zd� Zd� Z d S )
�TestDatasets�moduleT)�scope�autousec # �. K � t � � d V � d S �N)r ��selfs r �test_download_allzTestDatasets.test_download_all s � � � �
����
�����r c � � t t j t � � � � t t � � k sJ �d S r )�lenr
�listdir�data_dirr r s r �test_existence_allzTestDatasets.test_existence_all&