|
|
@ -68,7 +68,7 @@ class TestCompat(unittest.TestCase):
|
|
|
|
self.assertEqual(compat_urllib_parse_unquote_plus('abc%20def'), 'abc def')
|
|
|
|
self.assertEqual(compat_urllib_parse_unquote_plus('abc%20def'), 'abc def')
|
|
|
|
self.assertEqual(compat_urllib_parse_unquote_plus('%7e/abc+def'), '~/abc def')
|
|
|
|
self.assertEqual(compat_urllib_parse_unquote_plus('%7e/abc+def'), '~/abc def')
|
|
|
|
|
|
|
|
|
|
|
|
def test_compat_shlex(self):
|
|
|
|
def test_compat_shlex_split(self):
|
|
|
|
self.assertEqual(compat_shlex_split('-option "one two"'), ['-option', 'one two'])
|
|
|
|
self.assertEqual(compat_shlex_split('-option "one two"'), ['-option', 'one two'])
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|