X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Ftest_compat.py;h=b574249489a3ded4cf5dcd66e49c123829c2331e;hb=d75d9e343e91527c1fe34678e913ae16a0eafbdd;hp=1d7ac9f1696b8e66b1f8bd31d2f1694cc65468f6;hpb=a9eede3913a9e9c7e094907f36a22bc6719ce73d;p=youtube-dl diff --git a/test/test_compat.py b/test/test_compat.py index 1d7ac9f16..b57424948 100644 --- a/test/test_compat.py +++ b/test/test_compat.py @@ -88,6 +88,7 @@ class TestCompat(unittest.TestCase): def test_compat_shlex_split(self): self.assertEqual(compat_shlex_split('-option "one two"'), ['-option', 'one two']) self.assertEqual(compat_shlex_split('-option "one\ntwo" \n -flag'), ['-option', 'one\ntwo', '-flag']) + self.assertEqual(compat_shlex_split('-val 中文'), ['-val', '中文']) def test_compat_etree_fromstring(self): xml = '''