]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable....
authordavid-sarah <david-sarah@jacaranda.org>
Sat, 23 Oct 2010 03:58:10 +0000 (20:58 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Sat, 23 Oct 2010 03:58:10 +0000 (20:58 -0700)
src/allmydata/test/test_encodingutil.py

index 0305b1e6f8058cd4ce225ea5285c3c9ba5738b70..17d95498c58ed066ccfd911f361ec2249d64b366 100644 (file)
@@ -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'))