
    -i                         S SK rS SKrS SKJrJr  \R                  R                  S\R                  \4\R                  \4/5      S 5       r
g)    N)WeightVector32WeightVector64zdtype, WeightVectorc                    [         R                  R                  S5      R                  U 5      n[         R                  R                  S5      R                  U 5      nU" X#5      n[         R                  " UR
                  5      R                  [         R                  " U 5      L d   e[         R                  " UR                  5      R                  [         R                  " U 5      L d   eg)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.13/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   