ó
    Ö›‘h	  ã                   óx   • S r SSKJrJr  SSKJr   " S S\R                  5      r " S S\R                  5      rg)	z$
Tests for L{twisted.python.win32}.
é    )ÚreflectÚwin32)Úunittestc                   ó6   • \ rS rSrSrSS jrSS jrSS jrSrg)	ÚCommandLineQuotingTestsé   z
Tests for L{cmdLineQuote}.
Nc                 óP   • U R                  [        R                  " S5      S5        g)zY
Calling C{cmdLineQuote} with an argument with no spaces returns
the argument unchanged.
Úan_argumentN©ÚassertEqualr   ÚcmdLineQuote©Úselfs    ÚbC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/python/test/test_win32.pyÚtest_argWithoutSpacesÚ-CommandLineQuotingTests.test_argWithoutSpaces   s   € ð
 	×Ñœ×+Ò+¨MÓ:¸MÕJó    c                 óP   • U R                  [        R                  " S5      S5        g)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                 óP   • U R                  [        R                  " S5      S5        g)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   © ©ÚreturnN)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Ú__static_attributes__r   r   r   r   r      s   † ñôKôM÷7r   r   c                   ó,   • \ rS rSrSrSS jrSS jrSrg)ÚDeprecationTestsé'   z*
Tests for deprecated (Fake)WindowsError.
Nc                 óR   • U R                  [        S[        R                  S 5        g)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                  ó.   • [         R                  " S5      $ )Nz%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                 óR   • U R                  [        S[        R                  S 5        g)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                  ó.   • [         R                  " S5      $ )Nz!twisted.python.win32.WindowsErrorr)   r   r   r   r+   Ú@DeprecationTests.test_deprecation_WindowsError.<locals>.<lambda>?   s   € ”G×$Ò$Ð%HÔIr   Nr-   r   s    r   Útest_deprecation_WindowsErrorÚ.DeprecationTests.test_deprecation_WindowsError7   s'   € ð 	×ÑÜðHä×ÑÙIõ	
r   r   r   )r   r   r    r!   r"   r1   r6   r#   r   r   r   r%   r%   '   s   † ñô	
÷	
r   r%   N)	r"   Útwisted.pythonr   r   Útwisted.trialr   ÚTestCaser   r%   r   r   r   Ú<module>r;      s6   ðñ÷ *Ý "ô7˜h×/Ñ/ô 7ô6
�x×(Ñ(õ 
r   