def __call__(self, test_record):
    with self.open_output_file(test_record) as outfile:
        outfile.write(self.serialize_test_record(test_record))
def __call__(self, test_record):
    with self.open_output_file(test_record) as outfile:
        outfile.write(self.serialize_test_record(test_record))