| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/test/__pycache__/ |
Upload File : |
R
>lqj� c �� � Q s ] PHs] PHs] PHs] QHGsGs ] PHs] QHGs Q Q\O 2 s
\ 2 Q Q\O 2 2 s\Q6X c \O 2 P! P! )zEUnittests for test.support.script_helper. Who tests the test helper?)�
script_helper�requires_subprocess)�mockc � ` � \ sQ s]s n Q sQ sQ sQ s\O Q2 Q 2 s
\O Q2 Q 2 sQsU s
P! ) �TestScriptHelperc �j � [ O Q Q2 oU O ] U] * Q2 P! )�-c�import sys; sys.exit(0)zreturn code was not 0)r �assert_python_ok�assertEqual)�self�ts & �,C:\Python315\\Lib\test\test_script_helper.py�test_assert_python_ok�&TestScriptHelper.test_assert_python_ok
s, � ��*�*�4�1J�K������A�a�D�"9�:� c �b � [ O Q Q2 v qoU O ] UQ2 P! )r �sys.exit(0)zreturn code should not be 0)r �assert_python_failure�assertNotEqual)r �rc�out�errs & r
�test_assert_python_failure�+TestScriptHelper.test_assert_python_failure s+ � �$�:�:�4��O�������A�r�#@�Ar c � � U O [ 2 9^tt^ 2 o[ O Q Q2 PPP2 [ WO
2 oU O
QU2 U O
QUQQ5 P! ) % f h KM9 h)r r z
command line:zunexpected command line��msg)�assertRaises�AssertionErrorr r �str� exception�assertIn�r �
error_context� error_msgs & r
�test_assert_python_ok_raises�-TestScriptHelper.test_assert_python_ok_raises sd � �
�
�
�~�
.�
.�-��*�*�4��?� /��
�/�/�0� ��
�
�o�y�1��
�
�m�Y�4M�
�N� /�
.�� �A<�<B �B c � � U O [ 2 9^tt^ 2 o[ O Q Q2 PPP2 [ WO
2 oU O
QU2 U O
QUQQ5 P! ) % f h KM9 h)r r zProcess return code is 0
zunexpected command line.r )r r r r r r r! r"