( self )
| 144 | self.assertEqual( o.items(), [ ( "a", IECore.IntData( 1 ) ) ] ) |
| 145 | |
| 146 | def testDefaultInstance( self ) : |
| 147 | |
| 148 | o = IECore.CompoundObject.defaultInstance() |
| 149 | |
| 150 | o["a"] = IECore.IntData( 10 ) |
| 151 | |
| 152 | self.assertTrue( o["a"].isSame( IECore.CompoundObject.defaultInstance()["a"] ) ) |
| 153 | |
| 154 | del o["a"] |
| 155 | |
| 156 | self.assertTrue( "a" not in IECore.CompoundObject.defaultInstance() ) |
| 157 | |
| 158 | def testHash( self ) : |
| 159 |
nothing calls this directly
no test coverage detected