Current File : //opt/imh-python/lib/python2.7/test/test_pep352.pyo |
�
��Wc @ s d d l Z d d l Z d d l Z d d l Z d d l m Z m Z d d l Z d d l Z d d l m
Z d g Z e j
r� e j d d d g � n g e D] Z e e f ^ q� Z d � Z d e j f d
� � YZ d e j f d � � YZ d
� Z e d k re � n d S( i����N( t run_unittestt check_warnings( t systems) BaseException.message has been deprecateds) exceptions must derive from BaseExceptionsE catching classes that don't inherit from BaseException is not alloweds7 __get(item|slice)__ not supported for exception classesc s � f d � } | S( s% Ignore the known DeprecationWarnings.c s* t d t t � � � | | � SWd QXd S( Nt quiet( R t Truet
_deprecations( t argst kw( t func( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_pep352.pyt wrapper s ( ( R R ( ( R si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_pep352.pyt ignore_deprecation_warnings s t ExceptionClassTestsc B st e Z d Z d � Z e d � � Z d � Z d Z d � Z e d � � Z e d
� � Z
e d � � Z d � Z RS( s] Tests for anything relating to exception objects themselves (e.g.,
inheritance hierarchy)c C s | j t t t � � d S( N( t
assertTruet
issubclasst Exceptiont object( t self( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_pep352.pyt test_builtins_new_style! s c C s>