def _notInstantiableTest(self, name, cls):
        exc = self.assertRaises(TypeError, cls)
        self.assertEqual(name + " may not be instantiated.", str(exc))
Assert that an attempt to instantiate the constants class raises
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/_ConstantsTestsMixin._notInstantiableTest