Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_is_a_class(self):
self.assertTrue(inspect.isclass(Uint8MemoryView))
self.assertTrue(inspect.isclass(Int8MemoryView))
self.assertTrue(inspect.isclass(Uint16MemoryView))
self.assertTrue(inspect.isclass(Int16MemoryView))
self.assertTrue(inspect.isclass(Uint32MemoryView))
self.assertTrue(inspect.isclass(Int32MemoryView))