+
    üÐ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ñ 7 Tñ 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}.z�twisted.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_FakeWindowsErrorÚ2DeprecationTests.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   ðñ÷ *Ý "ô7˜h×/Ñ/ô 7ô6
�x×(Ñ(ö 
r   