
    f                         d dl Z d dlZd dlmZ e j                  j                  dg d      e j                  j                  dg d      d               Zy)    N)identityhash_tester
key_length)         length)r      i  c                 8   t        d      D cg c]  }t                }}g }t        |      D ]H  }t        t        j                  ||             }|j                  |t        j                  |      f       J t        |      }|j                  t        j                  |             ||d   d      }t        | |d      }||u sJ |j                  d|d          t        j                  t              5  t        | |       d d d        y c c}w # 1 sw Y   y xY w)N   )kr   T)replace)rangeobjecttuplerandomchoicesappendchoicedictr   insertpytestraisesRuntimeError)	r   r   ipool	keys_valskeys
dictionaryexpectedress	            A/usr/lib/python3/dist-packages/numpy/core/tests/test_hashtable.pytest_identity_hashtabler$      s    $Bi(FH(D(I6] 6V^^DJ78$d 3456 iJ V]]9-.)B-*+H
j)T
BC(?? Q	"&	|	$ 3J	23 3% )$3 3s   D5DD)r   r   numpy.core._multiarray_testsr   markparametrizer$        r#   <module>r*      sL      < y1=13 2 23r)   