def __init__(self, val, description, soft=False, expected=None):
        self.val = val
        self.description = description
        self.soft = soft
        self.expected = expected
Read from an existing file object.
dataset/ETHPy150Open ActivisionGameScience/assertpy/assertpy/assertpy.py/AssertionBuilder.__init__--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestFileFunctions.test_read_open_file