Current File : //opt/imh-python/lib/python2.7/test/test_abc.pyc |
�
��Wc @ s� d Z d d l Z d d l Z d d l m Z d d l Z d d l m Z d e j f d � � YZ d � Z
e d k r� e j � n d S( s Unit tests for abc.py.i����N( t test_support( t
isabstractt TestABCc 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 sE t j d � � } | j | j � d � } | j t | d � � d S( Nc S s d S( N( ( t self( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyt foo s c S s d S( N( ( R ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyt bar s t __isabstractmethod__( t abct abstractmethodt
assertTrueR t assertFalset hasattr( R R R ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyt test_abstractmethod_basics s c s� t j d � � } | j | j � d � } | j t | d � � d d d � � Y} d | f � f d � � Y� | j � � j d � d S(
Nc S s d S( N( ( R ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyR s c S s d S( N( ( R ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyR s R t Cc B s# e Z e j Z e j d � � Z RS( c S s d S( Ni ( ( R ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyR s ( t __name__t
__module__R t ABCMetat
__metaclass__t abstractpropertyR ( ( ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyR
s t Dc s e Z e � f d � � Z RS( c s t � | � j S( N( t superR ( R ( R ( sf /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_abc.pyR "