+
    SBi                         R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
t
 ! R R]4      t]
P                  R 4       t ! R	 R
4      tR# )zTests for distutils.cmd.N)debug)Command)Distribution)DistutilsOptionErrorc                   &   a  ] tR t^t o R tRtV tR# )MyCmdc                    R # N )selfs   &I/usr/lib/python3.14/site-packages/setuptools/_distutils/tests/test_cmd.pyinitialize_optionsMyCmd.initialize_options   s        r
   N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r   r   r      s      r   r   c                 (    \        \        4       4      # r	   )r   r   )requests   &r   cmdr      s      r   c                   J   a  ] tR t^t o R tR tR tR tR tR t	R t
RtV tR	# )
TestCommandc                   . ROVn         . ROVn        \        4       Vn        RVn        VP                  R4       VP                  R4       \        P                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       \        P                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       RVn	        VP                  R4       VP                  RR	.8X  g   Q hR
R.Vn
        VP                  R4       R^.Vn        \        P                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)oneokyes_string_listyes_string_list2not_string_listNnot_string_list2zok,dokoption1dokxxxwwwoption2option3)r      three)r   twor+   )r"   r    objectr#   r!   ensure_string_listpytestraisesr   r$   r(   r)   r   r   s   &&r   test_ensure_string_list#TestCommand.test_ensure_string_list   s!   15%x#0112]]/00""#45 1 ]]/00""#56 1 y){{tUm+++eny)Qi]]/00""9- 10 10 10 100s$   -E)E$5E7E!	$E4	7F	c           	         \         P                  ! \        4      ;_uu_ 4        VP                  R RRRR7       RRR4       R pR Vn        W!n        VP                  RRRRR7       R#   + '       g   i     L7; i)	T func)infilesoutfiler6   argsNc                     VR 8X  g   Q hR# )zgenerating out from inNr
   )r6   r9   exec_msglevels   &&&&r   _execute,TestCommand.test_make_file.<locals>._execute6   s    7777r   inoutr
   )r/   r0   	TypeError	make_fileforceexecute)r   r   r=   s   && r   test_make_fileTestCommand.test_make_file0   sZ    ]]9%%MM$bMI &	8 	dERH &%s   A((A8	c                   a . oV3R  lpW!n         ^Vn        ^Vn        RR.Vn        VP	                  4        . ROpSV8X  g   Q hR# )c                 *   < SP                  V 4       R # r	   )append)msgr<   msgss   &&r   	_announce0TestCommand.test_dump_options.<locals>._announce@   s    KKr   N)r$   r5   r5   )r(   r5   r5   )zcommand options for 'MyCmd':z  option1 = 1z  option2 = 1)announcer$   r(   user_optionsdump_options)r   r   rL   wantedrK   s   &&  @r   test_dump_optionsTestCommand.test_dump_options=   sM    	 !/1DESv~~r   c                >   R Vn         VP                  R4       RVn        VP                  RR4       \        VR4      '       g   Q h^Vn        \
        P                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       R#   + '       g   i     R# ; i)r   r$   Nr(   r&   r)   )r$   ensure_stringr(   hasattrr)   r/   r0   r   r1   s   &&r   test_ensure_stringTestCommand.test_ensure_stringL   su    )$)U+sI&&&&]]/00i( 1000s   /BB	c                    \         Vn        VP                  R 4       RVn        \        P
                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       R#   + '       g   i     R# ; ir$   r&   r(   N)__file__r$   ensure_filenamer(   r/   r0   r   r1   s   &&r   test_ensure_filename TestCommand.test_ensure_filenameX   sK    I&]]/00	* 1000s   A""A3	c                V   \         P                  P                  \        4      ;'       g    \         P                  Vn        VP                  R 4       RVn        \        P                  ! \        4      ;_uu_ 4        VP                  R4       RRR4       R#   + '       g   i     R# ; irZ   )ospathdirnamer[   curdirr$   ensure_dirnamer(   r/   r0   r   r1   s   &&r   test_ensure_dirnameTestCommand.test_ensure_dirname_   sd    ggooh/<<2999%]]/00y) 1000s   ;BB(	c                    VP                  R 4       VP                  4       P                  R8X  g   Q hVP                  \        RR4       VP                  R 4       VP                  4       P                  R8X  g   Q hR# )r&   r5   DEBUGTzxxx
N)debug_print
readouterrr@   setattrr   )r   r   capsysmonkeypatchs   &&&&r   test_debug_printTestCommand.test_debug_printf   sf      "&&",,,E7D1  "&&'111r   r
   N)r   r   r   r   r2   rE   rR   rW   r]   re   rn   r   r   r   s   @r   r   r      s.     .2I
)+*2 2r   r   )__doc__r`   	distutilsr   distutils.cmdr   distutils.distr   distutils.errorsr   r/   r   fixturer   r   r
   r   r   <module>rv      sJ     	  ! ' 1 G 
 ! !U2 U2r   