

def test_equal_on_type_mismatch(self):
    '\n        Test that the equality operator returns False when comparing a\n        Boolean object to a non-Boolean object.\n        '
    a = primitives.Boolean()
    b = 'invalid'
    b.assertFalse((a == b))
    self.assertFalse((b == a))

dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/primitives/test_boolean.py TestBoolean.test_equal_on_type_mismatch/VarMisuse@24/73 `self`->`b`