File: //lib64/python3.6/test/__pycache__/test_baseexception.cpython-36.pyc
3
\t � @ s\ d dl Z d dlZd dlZd dlmZ G dd� de j�ZG dd� de j�Ze dkrXe j
� dS )� N)�systemc @ sL e Zd ZdZdd� Zdd� Zdd� ZdZdd
� Zdd� Z dd� Z
dd� ZdS )�ExceptionClassTestsz]Tests for anything relating to exception objects themselves (e.g.,
inheritance hierarchy)c C s | j ttt�� d S )N)�
assertTrue�
issubclass� Exception�object)�self� r �*/usr/lib64/python3.6/test_baseexception.py�test_builtins_new_style s z+ExceptionClassTests.test_builtins_new_stylec C s0 x*dD ]"}| j t||�d|jj|f � qW d S )N�args�__str__�__repr__z%s missing %s attribute)r r
r )r �hasattr� __class__�__name__)r Zins�attrr r r
�verify_instance_interface s
z-ExceptionClassTests.verify_instance_interfacec "