/opt/alt/python27/lib/python2.7/site-packages/nose
Edit: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyo (15095B)
Ñò
š3ëSc
@ sð d Z d d k Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k
l Z l Z l
Z
e i e ƒ Z d g Z d e i f d „ ƒ YZ d e i f d
„ ƒ YZ d e f d „ ƒ YZ d
e f d „ ƒ YZ d S( sÞ nose unittest.TestCase subclasses. It is not necessary to subclass these
classes when writing tests; they are used internally by nose.loader.TestLoader
to create test cases from test functions and methods in test classes.
iÿÿÿÿN( t
isfunction( t Config( t Failure( t resolve_namet test_addresst try_runt Testc B s¤ e Z d Z e Z d d d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d „ Z d
„ Z e e d d d ƒ Z d „ Z d
„ Z d „ Z RS( så The universal test case wrapper.
When a plugin sees a test, it will always see an instance of this
class. To access the actual test case that will be run, access the
test property of the nose.case.Test instance.
c C s‘ t | ƒ p t d | ƒ ‚ n | | _ | d j o
t ƒ } n | | _ d | _ d | _ | | _ | i | _ d | _
t i i
| ƒ d S( NsT nose.case.Test called with argument %r that is not callable. A callable is required.( t callablet TypeErrort testt NoneR t configt tbinfot capturedOutputt resultProxyt pluginst passedt unittestt TestCaset __init__( t selfR R R ( ( s: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyR s
c O s | i | | Ž S( N( t run( R t argt kwarg( ( s: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyt __call__, s c C s1 | i i | ƒ } | d j o | St | i ƒ S( N( R t testNameR
t strR ( R t name( ( s: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyt __str__/ s
c C s d | i S( Ns Test(%r)( R ( R ( ( s: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyt __repr__5 s c C s4 y
| i } Wn t j
o n X| | i ƒ d S( s> Called after test is complete (after result.stopTest)
N( t afterTestt AttributeErrorR ( R t resultR ( ( s: /opt/alt/python27/lib/python2.7/site-packages/nose/case.pyR 8 s
c C s4 y
| i } Wn t j
o n X| | i ƒ d S( s<