| Server IP : 118.27.122.248 / Your IP : 216.73.216.153 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/test/__pycache__/ |
Upload File : |
3 �w2_�g � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl Z ddlZddlmZm Z ddlmZmZ ejZejZG dd� de�ZG d d � d e�ZG dd� dej�ZG d d� de j�Zdd� ZG dd� de j�Zedkr�e j� 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 �8/opt/alt/python36/lib64/python3.6/test/test_fractions.py�__init__ s zDummyFloat.__init__c C s>