← Back
Editing: test_getlimits.cpython-311.pyc
� ���c� � �T � d Z ddlZddlZddlmZmZ ddlmZmZm Z m Z ddlmZm Z mZ ddlmZmZ G d� d� � Z G d � d � � Z G d� d� � Z G d � d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Zd� Zd� Zd� Zd� Zd� ZdS )z$ Test functions for limits module. � N)�finfo�iinfo)�half�single�double� longdouble)�assert_equal�assert_� assert_raises)�_discovered_machar� _float_mac � � e Zd Zd� ZdS )�TestPythonFloatc � � t t � � }t t � � }t t |� � t |� � � � d S �N)r �floatr �id��self�ftype�ftype2s �A/usr/lib/python3/dist-packages/numpy/core/tests/test_getlimits.py�test_singletonzTestPythonFloat.test_singleton s: � ��e�����u�����R��Y�Y��6� � �+�+�+�+�+� N��__name__� __module__�__qualname__r � r r r r �# � � � � � �,� ,� ,� ,� ,r r c � � e Zd Zd� ZdS )�TestHalfc � � t t � � }t t � � }t t |� � t |� � � � d S r )r r r r r s r r zTestHalf.test_singleton s: � ��d�����t�����R��Y�Y��6� � �+�+�+�+�+r Nr r r r r"