
    Mh                         S r SSKJr  SSKrSSKJr  SSKJr  \R                  R                  S5      r\R                  R                  SSS/5      S	 5       rS
 rg)zy
Tests that work on both the Python and C engines but do not have a
specific classification into the other test modules.
    )StringION)	DataFramez=ignore:Passing a BlockManager to DataFrame:DeprecationWarningzdata,thousands,decimal)zA|B|C
1|2,334.01|5
10|13|10.
,.)zA|B|C
1|2.334,01|5
10|13|10,
r   r   c                 R   U n[        SS/SS/SS/S.5      nUR                  S:X  a?  S	n[        R                  " [        US
9   UR                  [        U5      SX#S9  S S S 5        g UR                  [        U5      SX#S9n[        R                  " Xu5        g ! , (       d  f       g = f)N   
   gQ<@      g      $@)ABCpyarrowzAThe 'thousands' option is not supported with the 'pyarrow' engine)match|)sep	thousandsdecimal)	r   enginepytestraises
ValueErrorread_csvr   tmassert_frame_equal)all_parsersdatar   r   parserexpectedmsgresults           \/var/www/html/env/lib/python3.13/site-packages/pandas/tests/io/parser/common/test_decimal.pytest_1000_sep_with_decimalr#      s    , F2wgr]!TKLH}}	!Q]]:S1OOC9   2 	__C9  F &+ 21 	s   B
B&c                     U nSnUR                  [        U5      SSS9n[        / SQ/ SQ/ SQ// SQS	9n[        R                  " X45        g )
NzId;Number1;Number2;Text1;Text2;Number3
1;1521,1541;187101,9543;ABC;poi;4,738797819
2;121,12;14897,76;DEF;uyt;0,377320872
3;878,158;108013,434;GHI;rez;2,735694704;r   )r   r   )r   gAc̝ė@g	hAABCpoig2[j@)   gHzG^@g{G@DEFuytgUq&?)   g%Cq@g^@GHIrezg)@)IdNumber1Number2Text1Text2Number3)columns)r   r   r   r   r   )r   r   r   r!   r   s        r"   test_euro_decimal_formatr5   8   sV    F,D
 __Xd^c_BFB<?	

 JH &+    )__doc__ior   r   pandasr   pandas._testing_testingr   markfilterwarnings
pytestmarkparametrizer#   r5    r6   r"   <module>rA      si       [[''C

 	
	
*,+*,$,r6   