

def testDeregisterPlugValue(self):
    n = GafferTest.AddNode()
    n.assertEqual(Gaffer.Metadata.plugValue(n['op1'], 'deleteMe'), None)
    Gaffer.Metadata.registerPlugValue(Gaffer.Node, 'op1', 'deleteMe', 10)
    self.assertEqual(Gaffer.Metadata.plugValue(n['op1'], 'deleteMe'), 10)
    Gaffer.Metadata.deregisterPlugValue(Gaffer.Node, 'op1', 'deleteMe')
    self.assertEqual(Gaffer.Metadata.plugValue(n['op1'], 'deleteMe'), None)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferTest/MetadataTest.py MetadataTest.testDeregisterPlugValue/VarMisuse@18/29 `self`->`n`