From: david-sarah Date: Sat, 23 Oct 2010 03:58:10 +0000 (-0700) Subject: test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable.... X-Git-Tag: trac-4800~39 X-Git-Url: https://git.rkrishnan.org/specifications/components/com_hotproperty/about.html?a=commitdiff_plain;h=daf2b8314aff8ef75b1a4683e4919b8b3165cb8c;p=tahoe-lafs%2Ftahoe-lafs.git test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable. fixes #1214 --- 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'))