def test_assertNotIsInstanceErrorMultipleClasses(self):
        """
        Test an error with assertNotIsInstance and multiple classes.
        """
        A = type('A', (object,), {})
        B = type('B', (object,), {})
        a = A()
        self.assertRaises(self.failureException, self.assertNotIsInstance, a, (A, B))

        Test an error with assertNotIsInstance and multiple classes.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_assertions.py