%PDF- %PDF-
Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyo |
� 5}�ac @ s� d Z d d l Z d d l m Z d e f d � � YZ d d d � � YZ d e f d � � YZ d e j f d � � YZ d � Z e d k r� e j � n d S( s7 Unit tests for __instancecheck__ and __subclasscheck__.i����N( t test_supportt ABCc B s e Z d � Z d � Z RS( c s/ t � f d � t t | � | j g � D� � S( s Implement isinstance(inst, cls).c 3 s | ] } � j | � Vq d S( N( t __subclasscheck__( t .0t c( t cls( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pys <genexpr> s ( t anyt sett typet __class__( R t inst( ( R s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyt __instancecheck__ s c sE | j j d t � � t | g � B� t � f d � | j � D� � S( s Implement issubclass(sub, cls).t __subclass__c 3 s | ] } | � k Vq d S( N( ( R R ( t candidates( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pys <genexpr> s ( t __dict__t getR R t mro( R t sub( ( R s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR s %( t __name__t __module__R R ( ( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR s t Integerc B s e Z e Z e e g � Z RS( ( R R R t __metaclass__R t intR ( ( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR s t SubIntc B s e Z RS( ( R R ( ( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR s t TypeChecksTestc B sG e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s6 | j t j t � t � | j t j t � t � d S( N( t assertEqualR R R t Truet floatt False( t self( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyt testIsSubclassInternal"