mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 22:03:04 +00:00
test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable. fixes #1214
This commit is contained in:
parent
679983bac6
commit
daf2b8314a
@ -119,7 +119,7 @@ class EncodingUtilErrors(ReallyEqualMixin, unittest.TestCase):
|
||||
sys.stdout = old_stdout
|
||||
|
||||
def test_argv_to_unicode(self):
|
||||
encodingutil.output_encoding = 'utf-8'
|
||||
encodingutil.argv_encoding = 'utf-8'
|
||||
self.failUnlessRaises(usage.UsageError,
|
||||
argv_to_unicode,
|
||||
lumiere_nfc.encode('latin1'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user