'Test that parsing of empty strings is correctly handled.'

def testEmptyStringHandling(self):

    expected = ['', ')', 'abc']
    for punct in (False, True):
        s = shlex.shlex("'')abc", posix=True, punctuation_chars=punct)
        slist = list(s)
        self.assertEqual(slist, expected)
    expected = ["''", ')', 'abc']
    s = shlex.shlex("'')abc", punctuation_chars=True)
    self.assertEqual(list(s), expected)
