def METHOD_NAME(self):
    scenarios = zip(*objects_to_test)
    for scenario in scenarios:
        with self.subTest(msg=scenario[1]):
            warnings_list = write_obj_and_catch_warnings(scenario[0])
            self.assertEqual(len(warnings_list), 0)