MCPcopy Create free account
hub / github.com/ImageEngine/cortex / raiser

Method raiser

test/IECore/CancellerTest.py:83–90  ·  view source on GitHub ↗
( key )

Source from the content-addressed store, hash-verified

81 def testExceptionTranslation( self ) :
82
83 def raiser( key ) :
84
85 if key == "python" :
86 raise IECore.Cancelled()
87 else :
88 c = IECore.Canceller()
89 c.cancel()
90 IECore.Canceller.check( c )
91
92 c = IECore.LRUCache( raiser, 1 )
93

Callers

nothing calls this directly

Calls 3

cancelMethod · 0.95
CancellerMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected