|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/test/__pycache__/ |
U
>��gWw � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
m
Z
mZ ddlmZmZ ejZejZG dd� de�ZG d d
� d
e�ZG dd� dej�ZG d
d� dej�Zdd� ZG dd� dej�Zedkr�e�� dS )zTests for Lib/fractions.py.� )�Decimal)�requires_IEEE_754N)�copy�deepcopy)�dumps�loadsc @ s\ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� ZeZ
dS )�
DummyFloatz8Dummy float class for testing comparisons with Fractionsc C s t |t�std��|| _d S )Nz-DummyFloat can only be initialized from float)�
isinstance�float� TypeError�value��selfr � r �2/opt/cppython/lib/python3.8/test/test_fractions.py�__init__ s
zDummyFloat.__init__c C s>