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

Method testRepr

test/IECore/TimeCodeDataTest.py:173–179  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

171 self.assertEqual( t, tt )
172
173 def testRepr( self ) :
174
175 t = IECore.TimeCode( 12, 24, 12, 15, dropFrame = True, bgf1 = True, binaryGroup6 = 12 )
176 tt = IECore.TimeCodeData( t )
177
178 self.assertEqual( repr(tt), "IECore.TimeCodeData( " + repr(t) + " )" )
179 self.assertEqual( tt, eval( repr(tt) ) )
180
181 def testStr( self ) :
182

Callers

nothing calls this directly

Calls 1

reprFunction · 0.50

Tested by

no test coverage detected