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

Method testRepr

test/IECore/ObjectVectorTest.py:189–195  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

187 self.assertNotEqual( o.hash(), o2.hash() )
188
189 def testRepr( self ) :
190
191 l = [ IECore.IntData( x ) for x in range( 0, 10 ) ]
192 o = IECore.ObjectVector( l )
193
194 o2 = eval( repr( o ) )
195 self.assertEqual( o, o2 )
196
197 def tearDown( self ) :
198

Callers

nothing calls this directly

Calls 2

ObjectVectorMethod · 0.80
reprFunction · 0.50

Tested by

no test coverage detected