( self )
| 218 | self.assertEqual( str( i ), m.message ) |
| 219 | |
| 220 | def testLifetime( self ) : |
| 221 | |
| 222 | m = IECore.NullMessageHandler() |
| 223 | w = weakref.ref( m ) |
| 224 | |
| 225 | with m : |
| 226 | pass |
| 227 | |
| 228 | del m |
| 229 | |
| 230 | self.assertEqual( w(), None ) |
| 231 | |
| 232 | def testExceptionHandling( self ) : |
| 233 |
nothing calls this directly
no test coverage detected