From: david-sarah Date: Sun, 18 Jul 2010 15:14:20 +0000 (-0700) Subject: test_encodingutil: correct an error in the previous patch to StdlibUnicode.test_open_... X-Git-Url: https://git.rkrishnan.org/frontends/FTP-and-SFTP.txt?a=commitdiff_plain;h=638a3b2af44779f0d7064722f6154ac483c8e0f9;p=tahoe-lafs%2Ftahoe-lafs.git test_encodingutil: correct an error in the previous patch to StdlibUnicode.test_open_representable. --- diff --git a/src/allmydata/test/test_encodingutil.py b/src/allmydata/test/test_encodingutil.py index 1a66d7a6..d788abf5 100644 --- a/src/allmydata/test/test_encodingutil.py +++ b/src/allmydata/test/test_encodingutil.py @@ -273,7 +273,7 @@ class StdlibUnicode(unittest.TestCase): self.failIfIn("~", expanded) self.failUnless(expanded.endswith(lumiere_nfc), expanded) - def test_open_unrepresentable(self, mock): + def test_open_unrepresentable(self): if unicode_platform(): raise unittest.SkipTest("This test is not applicable to platforms that represent filenames as Unicode.")