|
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
>��g) � @ s� d dl Z d dlZG dd� de j�ZG dd� de j�ZG dd� de�ZG dd � d e�Zed
d�Zeefd�Z G dd
� d
�Z
G dd� de
�ZG dd� de j�Zdd� Z
edkr�e �� dS )� Nc @ s4 e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� ZdS )�TestIsInstanceExceptionsc C s: G dd� dt �}G dd� dt �}| �dt|� |� �� d S )Nc @ s e Zd Zdd� Zee�ZdS )z;TestIsInstanceExceptions.test_class_has_no_bases.<locals>.Ic S s d S �N� ��selfr r �3/opt/cppython/lib/python3.8/test/test_isinstance.py�getclass s zDTestIsInstanceExceptions.test_class_has_no_bases.<locals>.I.getclassN��__name__�
__module__�__qualname__r �property� __class__r r r r �I s r c @ s e Zd Zdd� Zee�ZdS )z;TestIsInstanceExceptions.test_class_has_no_bases.<locals>.Cc S s dS �Nr r r r r r �getbases! s zDTestIsInstanceExceptions.test_class_has_no_bases.<locals>.C.getbasesN�r
r r r r
� __bases__r r r r �C s r F)�object�assertEqual�
isinstance�r r r r r r �test_class_has_no_bases s z0TestIsInstanceExceptions.test_class_has_no_basesc sL G dd� dt �� G � fdd�dt �}G dd� dt �}| �tt|� |� � d S )Nc @ s e Zd Zdd� Zee�ZdS )zPTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.Ec S s t �d S r ��RuntimeErrorr r r r r + s zYTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.E.getbasesNr r r r r �E* s r c s e Zd Z� fdd�Zee�ZdS )zPTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.Ic s � � S r r r �r r r r 0 s zYTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.I.getclassNr r r r r r / s r c @ s e Zd Zdd� Zee�ZdS )zPTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.Cc S s dS r r r r r r r 5 s zYTestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.<locals>.C.getbasesNr r r r r r 4 s r �r �assertRaisesr r r r r r �,test_bases_raises_other_than_attribute_error) s zETestIsInstanceExceptions.test_bases_raises_other_than_attribute_errorc C s6 G dd� d�}G dd� dt �}| �tt|� |� � d S )Nc @ s e Zd ZdS )zFTestIsInstanceExceptions.test_dont_mask_non_attribute_error.<locals>.IN�r
r r r r r r r >