+
    :i                         ^ RI t^ RIHtHt ^ RIHt ^ RIt^ RIH	t	 R t
R t ! R R]	4      t ! R	 R
]	4      t]R8X  d   ]P                  ! 4        R# R# )    N)njitjit)TypingErrorTestCasec                      ^ ^^^/# r    r
       T/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/test_dicts.py	build_mapr      s    q!Q<r   c                      \         p ^ W ^/# r	   r   )xs    r   build_map_from_local_varsr      s    AqQ<r   c                   2   a  ] tR t^t o R tR tR tRtV tR# )DictTestCasec                b    \        R R7      ! V4      pV P                  V! 4       V! 4       4       R# )T)forceobjN)r   assertPreciseEqual)selfpyfunccfuncs   && r   checkDictTestCase.check   s%    T"6*%'2r   c                0    V P                  \        4       R # N)r   r   r   s   &r   test_build_mapDictTestCase.test_build_map   s    

9r   c                0    V P                  \        4       R # r   )r   r   r   s   &r   test_build_map_from_local_vars+DictTestCase.test_build_map_from_local_vars   s    

,-r   r
   N)	__name__
__module____qualname____firstlineno__r   r   r!   __static_attributes____classdictcell____classdict__s   @r   r   r      s     3. .r   r   c                   x   a  ] tR t^t o RtR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tRtV tR# )TestCompiledDictzKTesting `dict()` and `{}` usage that are redirected to
`numba.typed.Dict`.
c                T    \         R  4       pV! 4       pV P                  V^^/4       R# )c                  $    \        4       p ^V ^&   V #    dictds    r   foo+TestCompiledDict.test_use_dict.<locals>.foo$   s    AAaDHr   Nr   assertEqualr   r5   r4   s   &  r   test_use_dictTestCompiledDict.test_use_dict"   1    		 
	
 EQF#r   c           
     j   \         R  4       p\         R 4       p. RO. RO3\        P                  ! ^4      \        P                  ! ^4      3. ROR3. ROR33pV F1  w  rEV! WE4      pV P                  V\	        \        WE4      4      4       K3  	  V P                  V! 4       VP                  4       4       R# )c                 .    \        \        W4      4      pV# r   )r2   zip)abr4   s   && r   dict_iterable_1ETestCompiledDict.test_use_dict_iterable_args.<locals>.dict_iterable_1/   s    SYAHr   c                      \        . RO4      # )sape))rE   i+  )guidoi  )jacki  r1   r
   r   r   dict_iterable_2ETestCompiledDict.test_use_dict_iterable_args.<locals>.dict_iterable_24   s     IJJr   abcN)   r0      )         )rK   r0   rL   rM   )r   nparanger8   r2   r?   py_func)r   rB   rH   inpsr@   rA   r4   s   &      r   test_use_dict_iterable_args,TestCompiledDict.test_use_dict_iterable_args-   s    		 
	 
	K 
	K
 	"YYq\299Q<(5!	
 DA%AQSY0  	*O,C,C,EFr   c                h    \         R  4       p\        ^^/4      pV! 4       pV P                  W#4       R# )c                      \        R4      # )rK   )rK   r0   rX   r1   r
   r   r   ctor7TestCompiledDict.test_ctor_iterable_tuple.<locals>.ctorF   s    ())r   N)r   r2   r8   )r   rY   expectedgots   &   r   test_ctor_iterable_tuple)TestCompiledDict.test_ctor_iterable_tupleE   s8    		* 
	* A<f'r   c                   ^ RI Hp \        R 4       p\        R 4       p\        R 4       p\        R 4       pRpRpRpV\        V3V\        V3V\        V3V\        V3.p	V	 FT  w  rpV P	                  V4      ;_uu_ 4       pV
! 4        R	R	R	4       V P                  V\        XP                  4      4       KV  	  R	#   + '       g   i     L;; i)
r   )_message_dict_supportc                  6    \        4       p ^V ^&   \        V 4      # r/   r1   r3   s    r   ctor1;TestCompiledDict.test_unsupported_dict_usage.<locals>.ctor1R   s    AAaD7Nr   c                      \        R4      # )rK   )rX   )rL   r@   r1   r
   r   r   ctor2;TestCompiledDict.test_unsupported_dict_usage.<locals>.ctor2X   s    *++r   c                      \        R4      # )r@   ))r@   rA   c)r4   efr1   r
   r   r   ctor3;TestCompiledDict.test_unsupported_dict_usage.<locals>.ctor3\   s    :;;r   c                  $    \        / ^3/ ^334      # rK   r1   r
   r   r   ctor4;TestCompiledDict.test_unsupported_dict_usage.<locals>.ctor4`   s    "a2q'*++r   z(Non-iterable args used in dict(iterable)z0dictionary update sequence element has length 3;zUnhashable typeN)numba.core.typing.dictdeclr`   r   r   assertRaisesassertInstr	exception)r   r`   rb   re   rk   ro   _non_iter_args_dict_upd_item_len_unhashable_typeinputsfuncexcmsgraisess   &             r   test_unsupported_dict_usage,TestCompiledDict.test_unsupported_dict_usageN   s    D		 
	
 
	, 
	, 
	< 
	< 
	, 
	, DO, K!67K0K!34K!12	
 %NDs""3''6 ( MM#s6#3#345	 %''s    B;;Cc                T    \         R  4       pV! 4       pV P                  V^^/4       R# )c                      / p ^V ^&   V # r/   r
   r3   s    r   r5   2TestCompiledDict.test_use_curlybraces.<locals>.foow   s    AAaDHr   Nr7   r9   s   &  r   test_use_curlybraces%TestCompiledDict.test_use_curlybracesu   r<   r   c                T    \         R  4       pV! 4       pV P                  V^^/4       R# )c                  
    ^^/# rn   r
   r
   r   r   r5   =TestCompiledDict.test_use_curlybraces_with_init1.<locals>.foo   s    q6Mr   Nr7   r9   s   &  r   test_use_curlybraces_with_init10TestCompiledDict.test_use_curlybraces_with_init1   s1    		 
	 EQF#r   c           	     \    \         R  4       pV! 4       pV P                  V^R^R^R/4       R# )c                      ^R^R^R/# )rK   皙@皙@ffffff@r
   r
   r   r   r5   @TestCompiledDict.test_use_curlybraces_with_initmany.<locals>.foo   s    sAsAs++r   r   r   r   Nr7   r9   s   &  r   "test_use_curlybraces_with_initmany3TestCompiledDict.test_use_curlybraces_with_initmany   s:    		, 
	, EQQQ45r   c                h    \         R  4       pV P                  V! 4       VP                  4       4       R# )c                      ^R^^^^/# )rK   r   r
   r
   r   r   r5   ATestCompiledDict.test_curlybraces_init_with_coercion.<locals>.foo   s    sAq!Q''r   Nr   r8   rR   r   r5   s   & r   #test_curlybraces_init_with_coercion4TestCompiledDict.test_curlybraces_init_with_coercion   s.    		( 
	( 	.r   c                r    \         R  4       p^
^r2V P                  V! W#4      VP                  W#4      4       R# )c                     V ^WV,           /# rn   r
   )r   ys   &&r   r5   ?TestCompiledDict.test_use_curlybraces_with_manyvar.<locals>.foo   s    q!U##r   Nr   )r   r5   r   r   s   &   r   !test_use_curlybraces_with_manyvar2TestCompiledDict.test_use_curlybraces_with_manyvar   s:    		$ 
	$ 21QCKK$56r   c                h    \         R  4       pV P                  V! 4       VP                  4       4       R# )c                  6    \        4       p ^^/V ^&   ^^/V ^&   V # rn   r1   ks    r   r5   =TestCompiledDict.test_mixed_curlybraces_and_dict.<locals>.foo   s(    Aq6AaDq6AaDHr   Nr   r   s   & r   test_mixed_curlybraces_and_dict0TestCompiledDict.test_mixed_curlybraces_and_dict   s.    		 
	 	.r   c                    \         R  4       pV P                  \        4      ;_uu_ 4       pV! 4        RRR4       V P                  R\	        XP
                  4      4       R#   + '       g   i     L7; i)c                      ^R/p V # )rK   Nr
   r   s    r   r5   ;TestCompiledDict.test_dict_use_with_none_value.<locals>.foo   s    D	AHr   Nz&Dict.value_type cannot be of type noner   rr   r   rs   rt   ru   r   r5   r}   s   &  r   test_dict_use_with_none_value.TestCompiledDict.test_dict_use_with_none_value   sY    		 
	 {++vE ,4  !	
 ,+   A!!A1	c                    \         R  4       pV P                  \        4      ;_uu_ 4       pV! R4       RRR4       V P                  R\	        XP
                  4      4       R#   + '       g   i     L7; i)c                 &    V '       d   R MRp^V/pV# g      @Nr
   )choiceoptionalr   s   &  r   r5   ?TestCompiledDict.test_dict_use_with_optional_value.<locals>.foo   s    $s$HHAHr   TNz7Dict.value_type cannot be of type OptionalType(float64)r   r   s   &  r   !test_dict_use_with_optional_value2TestCompiledDict.test_dict_use_with_optional_value   s[    		 
	
 {++vI ,E  !	
 ,+   	A""A2	c                    \         R  4       pV P                  \        4      ;_uu_ 4       pV! R4       RRR4       V P                  R\	        XP
                  4      4       R#   + '       g   i     L7; i)c                 "    V '       d   R MR^/pV# r   r
   )r   r   s   & r   r5   =TestCompiledDict.test_dict_use_with_optional_key.<locals>.foo   s    D!,AHr   TNz5Dict.key_type cannot be of type OptionalType(float64)r   r   s   &  r   test_dict_use_with_optional_key0TestCompiledDict.test_dict_use_with_optional_key   s[    		 
	 {++vI ,C  !	
 ,+r   c                    \         R  4       pV P                  \        4      ;_uu_ 4       pV! 4        RRR4       V P                  R\	        XP
                  4      4       R#   + '       g   i     L7; i)c                      R ^/p V # r   r
   r   s    r   r5   9TestCompiledDict.test_dict_use_with_none_key.<locals>.foo   s    q	AHr   Nz$Dict.key_type cannot be of type noner   r   s   &  r   test_dict_use_with_none_key,TestCompiledDict.test_dict_use_with_none_key   sY    		 
	 {++vE ,2  !	
 ,+r   r
   N)r#   r$   r%   r&   __doc__r:   rT   r]   r~   r   r   r   r   r   r   r   r   r   r   r'   r(   r)   s   @r   r,   r,      sW     	$G0(%6N	$$6/7	/



 
r   r,   __main__)numpyrP   numbar   r   numba.core.errorsr   unittestnumba.tests.supportr   r   r   r   r,   r#   mainr
   r   r   <module>r      sQ      )  (
.8 
.H
x H
T zMMO r   