def METHOD_NAME(self):
    # entry points are contributed by other packages, and running them
    # may fail.
    error_entry_point = {
        "traitsui": {
            "etsdemo_data": [
                "error_demo={}:misbehaving_demo_response".format(__name__),
                "amazing_demo={}:amazing_demo_response".format(__name__),
            ],
        },
    }
    with mock_iter_entry_points(error_entry_point):
        with self.assertLogs(LOGGER_NAME) as watcher:
            resources = get_responses()
    self.assertEqual(len(resources), 1)
    (log_output,) = watcher.output
    self.assertIn("Failed to obtain data from", log_output)