%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/test/ |
Current File : //usr/local/lib/python2.7/test/test_pep352.pyo |
ó Nêáac @ 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( s, /usr/local/lib/python2.7/test/test_pep352.pyt wrapper s ( ( R R ( ( R s, /usr/local/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( ( s, /usr/local/lib/python2.7/test/test_pep352.pyt test_builtins_new_style! s c C s>