isinstance(int, 10) throws TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types

How did this test case pass previously? Investigate ..