def test_my_class(self):
        class Foo(object):
            pass
        value = Foo()
        self.assertRaises(ValueError, self.base.annotate, data=value)
Layout Method (Item Renderer)
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/test/coretest/test_base.py/TestBaseNeoUserDefinedTypes.test_my_class--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3layouts.py/S3HomepageMenuLayout.layout