← Back
Editing: test_kdtree.cpython-311.pyc
� d�c� � �R � d dl Z d dlmZmZmZmZmZmZ d dlm Z d dlZd dlmZ d dl Zd dlmZmZmZmZ d dlmZ d dlmZ d dlZ ej eeg�� � d � � � Zd � Zd� Z G d� d � � Ze G d� de� � � � Ze G d� de� � � � Ze G d� de� � � � Ze G d� de� � � � Z G d� d� � Z! G d� d� � Z" G d� d� � Z#e G d� de#� � � � Z$e G d� de#� � � � Z%e G d � d!e#� � � � Z&e G d"� d#e$� � � � Z'e G d$� d%e$� � � � Z(e G d&� d'e$� � � � Z)e G d(� d)e%� � � � Z*e G d*� d+e$� � � � Z+e G d,� d-e$� � � � Z,d.� Z-d/� Z. G d0� d1� � Z/e G d2� d3e/� � � � Z0e G d4� d5e/� � � � Z1e G d6� d7e0� � � � Z2e G d8� d9e1� � � � Z3e G d:� d;e0� � � � Z4e G d<� d=e1� � � � Z5 G d>� d?� � Z6d@� Z7dA� Z8dB� Z9dC� Z: G dD� dE� � Z;e G dF� dGe;� � � � Z< G dH� dI� � Z=e G dJ� dKe=� � � � Z>dL� Z?dM� Z@dN� ZAdO� ZBdP� ZCdQ� ZDdR� ZEdS� ZFdT� ZGdU� ZHdV� ZIdW� ZJdX� ZKdY� ZLdZ� ZMd[� ZNd\� ZOd]� ZPd^� ZQd_� ZRd`� ZSejT �U e� � dak db�c� � dd� � � ZVde� ZWdf� ZXdg� ZYdh� ZZdi� Z[dj� Z\dk� Z]dl� Z^dm� Z_ejT �` dng do�� � dp� � � Zae G dq� dr� � � � Zbds� Zcdt� Zddu� ZeejT �` dveeg� � dw� � � Zfdx� ZgdS )y� N)�assert_equal�assert_array_equal�assert_�assert_almost_equal�assert_array_almost_equal�assert_allclose)�raises)�python_implementation)�KDTree� Rectangle�distance_matrix�cKDTree)�cKDTreeNode��minkowski_distance)�paramsc � � | j S �N)�param)�requests �A/usr/lib/python3/dist-packages/scipy/spatial/tests/test_kdtree.py�kdtree_typer s � ��=�� c �< � | j � d� � st d� � �t t fD ]c}| j dd� dz |j z }|t � � v rt d|z � � �t || fd|i� � }|t � � |<