Current Path : /usr/lib/python2.7/unittest/ |
Current File : //usr/lib/python2.7/unittest/case.pyc |
|_c @ sS d Z d d l Z d d l Z d d l Z 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 m Z m Z m Z m Z e Z d Z d e f d YZ d e f d YZ d e f d YZ d Z d Z d Z d Z d Z d e f d YZ d e f d YZ d e f d YZ d S( s Test case implementationiNi ( t result( t strclasst safe_reprt unorderable_list_differencet _count_diff_all_purposet _count_diff_hashables@ Diff is %s characters long. Set self.maxDiff to None to see it.t SkipTestc B s e Z d Z RS( s Raise this exception in a test to skip it. Usually you can use TestResult.skip() or one of the skipping decorators instead of raising this directly. ( t __name__t __module__t __doc__( ( ( s# /usr/lib/python2.7/unittest/case.pyR s t _ExpectedFailurec B s e Z d Z d Z RS( s\ Raise this when a test is expected to fail. This is an implementation detail. c C s t t | j | | _ d S( N( t superR t __init__t exc_info( t selfR ( ( s# /usr/lib/python2.7/unittest/case.pyR ( s ( R R R R ( ( ( s# /usr/lib/python2.7/unittest/case.pyR ! s t _UnexpectedSuccessc B s e Z d Z RS( s7 The test was supposed to fail, but it didn't! ( R R R ( ( ( s# /usr/lib/python2.7/unittest/case.pyR , s c C s | S( N( ( t obj( ( s# /usr/lib/python2.7/unittest/case.pyt _id2 s c s f d } | S( s&