From daf2b8314aff8ef75b1a4683e4919b8b3165cb8c Mon Sep 17 00:00:00 2001 From: david-sarah <david-sarah@jacaranda.org> Date: Fri, 22 Oct 2010 20:58:10 -0700 Subject: [PATCH] test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable. fixes #1214 --- src/allmydata/test/test_encodingutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_encodingutil.py b/src/allmydata/test/test_encodingutil.py index 0305b1e6..17d95498 100644 --- a/src/allmydata/test/test_encodingutil.py +++ b/src/allmydata/test/test_encodingutil.py @@ -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')) -- 2.45.2