'The value of the L{FlagConstant} which results from C{~} has all of the
bits set which were not set in the original constant.'

def test_value(self):

    flag = (~ self.FXF.READ)
    self.assertEqual((((self.FXF.WRITE.value | self.FXF.APPEND.value) | self.FXF.EXCLUSIVE.value) | self.FXF.TEXT.value), flag.value)
    flag = (~ self.FXF.WRITE)
    self.assertEqual((((self.FXF.READ.value | self.FXF.APPEND.value) | self.FXF.EXCLUSIVE.value) | self.FXF.TEXT.value), flag.value)
