def set_flags(self, id, flags):
        assert 0 <= id <= 255
        self._data[id] |= (flags & ALL)
Tests the NewFileObject function.
dataset/ETHPy150Open dansanderson/picotool/pico8/gff/gff.py/Gff.set_flags--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/resolver/encoded_stream_resolver_helper.py/EncodedStreamResolverHelperTest.testNewFileObject