
    sg                         d dl Zd dlZd dlmZmZ ej                  j                  dej                  efej                  efg      d        Z
y)    N)WeightVector32WeightVector64zdtype, WeightVectorc                    t         j                  j                  d      j                  |       }t         j                  j                  d      j                  |       } |||      }t        j                  |j
                        j                  t        j                  |       u sJ t        j                  |j                        j                  t        j                  |       u sJ y)z0Check the `dtype` consistency of `WeightVector`.d   N)nprandomrandastypeasarraywdtypeaw)r   WeightVectorweightsaverage_weightsweight_vectors        Y/var/www/html/venv/lib/python3.12/site-packages/sklearn/utils/tests/test_weight_vector.pytest_type_invariancer   
   s     iinnS!((/GiinnS)007O /:M::moo&,,???::m&&'--%@@@    )numpyr   pytestsklearn.utils._weight_vectorr   r   markparametrizefloat32float64r    r   r   <module>r      sU      	^$	^$AAr   