| 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:/Python312/Lib/test/test_capi/__pycache__/ |
Upload File : |
�
���g�4 � �� � d dl Zd dlZd dlZd dlZd dlZd dlmZ d dlm Z d dl
mZ e j d� Z
dZ G d� dej � Zedk( r ej$ � yy) � N)� os_helper)�
import_helper)�check_warnings� _testcapic � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zdd�Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zdd�Zd� Zd� Zy)�ImportTestsc � � t j � }| j |t j t
j j d� � y )N�little)r �PyImport_GetMagicNumber�assertEqual�int�
from_bytes� importlib�util�MAGIC_NUMBER)�self�magics �/C:\Python312\\Lib\test\test_capi\test_import.py�test_getmagicnumberzImportTests.test_getmagicnumber s9 � ��1�1�3��������� ���(C�(C�X�N� P� c � � t j � }| j |t j j
� y �N)r �PyImport_GetMagicTagr �sys�implementation� cache_tag)r �tags r �test_getmagictagzImportTests.test_getmagictag s, � ��,�,�.������c�0�0�:�:�;r c �l � t j � }| j |t j � y r )r �PyImport_GetModuleDict�assertIsr �modules)r r"