

def test_write_false(self):
    '\n        Test that a Boolean object representing the value False can be written\n        to a byte stream.\n        '
    encoding = b'B\x00\x00\x06\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00'
    stream = utils.BytearrayStream()
    boolean = primitives.Boolean(False)
    boolean.write(stream)
    self.assertEqual(boolean, stream.read())

dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/primitives/test_boolean.py TestBoolean.test_write_false/VarMisuse@44/138 `encoding`->`boolean`