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

Method testRepr

test/IECore/PathMatcherTest.py:939–951  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

937 self.assertTrue( s.isEmpty() )
938
939 def testRepr( self ) :
940
941 m1 = IECore.PathMatcher()
942 m2 = IECore.PathMatcher( [
943 "/a/b",
944 "/a/*"
945 ] )
946
947 m1c = eval( repr( m1 ) )
948 m2c = eval( repr( m2 ) )
949
950 self.assertEqual( m1, m1c )
951 self.assertEqual( m2, m2c )
952
953 def testIntersection( self ) :
954

Callers

nothing calls this directly

Calls 2

PathMatcherMethod · 0.80
reprFunction · 0.50

Tested by

no test coverage detected