| Server IP : 121.121.20.254 / Your IP : 216.73.216.188 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/test_capi/__pycache__/ |
Upload File : |
R
>lqj�7 c �� � ] QH GsGs ] PHs] PHs] PHs] PHs\O Q2 s\O Q2 s Q Q2 s
Q Q\O 2 s Q Q \O 2 s
P! )
� )�
import_helper�subTests�_testlimitedcapi� _testcapic � � \ sQ s]
sQsQsP! )�FakeSpec�module� )�__name__�
__module__�__qualname__�__firstlineno__�name�__static_attributes__r � �.C:\Python315\\Lib\test\test_capi\test_slots.pyr r
s � ��Dr r c �� ` � \ sQ s]s n Q sQ sQ sQ sQ sQ s Q s
\ QQ Q
,2 Q 2 sQ s
Q
sQ s\ Q, \ ]]S2 N\ ]X]\2 N\ ]_]c2 N\ ]k]m2 N2 Q 2 sQ sQ sQsU sP! )�TypeSlotsTestsc � � [ O Q 2 oU O UO Q2 ]{Um U O [ 2 9^tt^ 2 Q QU2 oPPP2 P! ) % f h P! 9 h)�basic�MyTypec � � \ sQ s]sQsP! )�1TypeSlotsTests.test_basic_type_slots.<locals>.Subr �r
r r r
r r r r �Subr s � �r r )r �type_from_slots�assertEqualr
�attr�assertRaises� TypeError��self�clsr s & r �test_basic_type_slots�$TypeSlotsTests.test_basic_type_slots s] � ��.�.�w�7��������x�0� ��� �
�
�y�
)�
)�
�c�
� *�
)�
)�
)�s �A-�-A> �6A> c � � U O [ Q 2 9^tt^ 2 [ O Q2 PPP2 P! ) % f h P! 9 h)zinvalid.* 100 .*Py_mod_name�foreign_slot��assertRaisesRegex�SystemErrorr r �r! s &r �test_mod_slot_in_type�$TypeSlotsTests.test_mod_slot_in_type s4 � �
�
#�
#�K�1N�
O�
O��,�,�^�<� P�
O�
O�
O�� �A � A � A c �X � [ O Q 2 oU O UO Q2 [ O Q2 oU O UO [ O Q* 2 [ O Q2 oU O UO
]2 P! )� basicsize� �extra_basicsize�itemsize)r r �assertGreaterEqual�
__basicsize__�object�__itemsize__�r! r"