+
    Dfj	                     z    R t ^ RIHtHt ^ RIHt  ! R R]P                  4      t ! R R]P                  4      tR# )z$
Tests for L{twisted.python.win32}.
)reflectwin32)unittestc                   Z   a  ] tR t^t o RtV 3R lR ltV 3R lR ltV 3R lR ltRtV t	R	# )
CommandLineQuotingTestsz
Tests for L{cmdLineQuote}.
c                   < V ^8  d   QhRR/#    returnN )format__classdict__s   "@/usr/lib/python3/dist-packages/twisted/python/test/test_win32.py__annotate__$CommandLineQuotingTests.__annotate__   s     K Kt K    c                R    V P                  \        P                  ! R4      R4       R# )zY
Calling C{cmdLineQuote} with an argument with no spaces returns
the argument unchanged.
an_argumentNassertEqualr   cmdLineQuoteselfs   &r   test_argWithoutSpaces-CommandLineQuotingTests.test_argWithoutSpaces   s    
 	++M:MJr   c                   < V ^8  d   QhRR/# r   r   )r   r   s   "r   r   r      s     M MD Mr   c                R    V P                  \        P                  ! R4      R4       R# )zg
Calling C{cmdLineQuote} with an argument containing spaces returns
the argument surrounded by quotes.
zAn Argumentz"An Argument"Nr   r   s   &r   test_argWithSpaces*CommandLineQuotingTests.test_argWithSpaces   s    
 	++M:OLr   c                   < V ^8  d   QhRR/# r   r   )r   r   s   "r   r   r      s     7 7T 7r   c                R    V P                  \        P                  ! R4      R4       R# )zM
Calling C{cmdLineQuote} with an empty string returns a quoted empty
string.
 z""Nr   r   s   &r   test_emptyStringArg+CommandLineQuotingTests.test_emptyStringArg   s    
 	++B/6r   r   N)
__name__
__module____qualname____firstlineno____doc__r   r   r"   __static_attributes____classdictcell__r   s   @r   r   r      s,     K KM M7 7r   r   c                   H   a  ] tR t^'t o RtV 3R lR ltV 3R lR ltRtV tR# )DeprecationTestsz*
Tests for deprecated (Fake)WindowsError.
c                   < V ^8  d   QhRR/# r   r   )r   r   s   "r   r   DeprecationTests.__annotate__,   s     	
 	
4 	
r   c                T    V P                  \        R\        P                  R 4       R# )z?Importing C{FakeWindowsError} triggers a L{DeprecationWarning}.ztwisted.python.win32.FakeWindowsError was deprecated in Twisted 21.2.0: Catch OSError and check presence of 'winerror' attribute.c                  .    \         P                  ! R 4      # )z%twisted.python.win32.FakeWindowsErrorr   namedAnyr   r   r   <lambda>DDeprecationTests.test_deprecation_FakeWindowsError.<locals>.<lambda>4   s    G$$%LMr   NassertWarnsDeprecationWarningr   __file__r   s   &r   !test_deprecation_FakeWindowsError2DeprecationTests.test_deprecation_FakeWindowsError,   s'     	HM	
r   c                   < V ^8  d   QhRR/# r   r   )r   r   s   "r   r   r/   7   s     	
 	
t 	
r   c                T    V P                  \        R\        P                  R 4       R# )z;Importing C{WindowsError} triggers a L{DeprecationWarning}.z}twisted.python.win32.WindowsError was deprecated in Twisted 21.2.0: Catch OSError and check presence of 'winerror' attribute.c                  .    \         P                  ! R 4      # )z!twisted.python.win32.WindowsErrorr2   r   r   r   r4   @DeprecationTests.test_deprecation_WindowsError.<locals>.<lambda>?   s    G$$%HIr   Nr6   r   s   &r   test_deprecation_WindowsError.DeprecationTests.test_deprecation_WindowsError7   s'     	HI	
r   r   N)	r$   r%   r&   r'   r(   r:   r@   r)   r*   r+   s   @r   r-   r-   '   s     	
 	
	
 	
r   r-   N)	r(   twisted.pythonr   r   twisted.trialr   TestCaser   r-   r   r   r   <module>rE      s6    * "7h// 76
x(( 
r   