mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-22 16:58:58 +00:00
Just pass unicode at this layer
This commit is contained in:
@ -99,7 +99,7 @@ class ParseOptionsTests(SyncTestCase):
|
|||||||
"""
|
"""
|
||||||
tricky = u"\u2621"
|
tricky = u"\u2621"
|
||||||
try:
|
try:
|
||||||
parse_options([unicode_to_argv(tricky)])
|
parse_options([tricky])
|
||||||
except usage.error as e:
|
except usage.error as e:
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
b"Unknown command: " + tricky.encode("utf-8"),
|
b"Unknown command: " + tricky.encode("utf-8"),
|
||||||
|
Reference in New Issue
Block a user