Current File : //opt/imh-python/lib/python2.7/test/test_atexit.pyo |
�
��Wc @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d e j f d � � YZ d � Z e
d k r� e � n d S( i����N( t reload( t test_supportt TestCasec B s} e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d
� Z d � Z
d � Z RS(
c C sT t j � } t j | _ t j | _ | t _ t _ | _ t j | _ g t _ d S( N(
t StringIOt syst stdoutt save_stdoutt stderrt save_stderrt subst_iot atexitt
_exithandlerst
save_handlers( t selft s( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_atexit.pyt setUp s c C s( | j t _ | j t _ | j t _ d S( N( R R R R R R R
R ( R
( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_atexit.pyt tearDown s c C s` t j | j � t j | j � t j | j d d d �t j � | j | j j � d � d S( Ni t kwt abcs"