def assert_true_instance(logical_line):
    if asse_trueinst_re.match(logical_line):
        yield (0, "N316: assertTrue(isinstance(a, b)) sentences not allowed")
Check for assertTrue(isinstance(a, b)) sentences
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/hacking/checks.py/assert_true_instance