def test_set_object_not_None(self):
        p = self.P(e=6)
        p.g = 7
        try:
            p.g = None
        except __HOLE__:
            pass
        else:
            raise AssertionError("Object set outside range.")
dataset/ETHPy150Open ioam/param/tests/testobjectselector.py/TestObjectSelectorParameters.test_set_object_not_None