

def test_not_equal_on_type_mismatch(self):
    '\n        Test that the inequality operator returns True when comparing a\n        Boolean object to a non-Boolean object.\n        '
    a = primitives.Boolean()
    b = 'invalid'
    self.assertTrue((a != b))
    b.assertTrue((b != a))

dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/primitives/test_boolean.py TestBoolean.test_not_equal_on_type_mismatch/VarMisuse@35/87 `self`->`b`