Your IP : 216.73.216.213
�
�#�jx3 � �� � 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 �A/opt/alt/python312/lib64/python3.12/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"