

def _write_serialized_frame(self, filename, data):
    if settings.diagnostics.write_serialized_frame:
        with open(('serialized-frame-' + filename), 'wb') as data_file:
            data_file.write(data)

dataset/ETHPy150Open Azure/Azure-MachineLearning-ClientLibrary-Python/tests/roundtriptests.py RoundTripTests._write_serialized_frame/original