mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
Just pass unicode at this layer
This commit is contained in:
parent
d56c218586
commit
4d41e30ce9
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user