def METHOD_NAME(self, data, comments):
    for i in range(len(data)):
        l = shlex.split(data[i][0], comments=comments)
        self.assertEqual(l, data[i][1:],
                         "%s: %s != %s" %
                         (data[i][0], l, data[i][1:]))