From: david-sarah Date: Sun, 18 Jul 2010 12:54:12 +0000 (-0700) Subject: test_encodingutil: StdlibUnicode.test_open_representable no longer uses a mock. X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/reliability?a=commitdiff_plain;h=9a4a86457320fe21af744e6d8c7dcd08e7c07f63;p=tahoe-lafs%2Ftahoe-lafs.git test_encodingutil: StdlibUnicode.test_open_representable no longer uses a mock. --- diff --git a/src/allmydata/test/test_encodingutil.py b/src/allmydata/test/test_encodingutil.py index dd22d0db..1a66d7a6 100644 --- a/src/allmydata/test/test_encodingutil.py +++ b/src/allmydata/test/test_encodingutil.py @@ -273,7 +273,6 @@ class StdlibUnicode(unittest.TestCase): self.failIfIn("~", expanded) self.failUnless(expanded.endswith(lumiere_nfc), expanded) - @patch('sys.getfilesystemencoding') def test_open_unrepresentable(self, mock): if unicode_platform(): raise unittest.SkipTest("This test is not applicable to platforms that represent filenames as Unicode.")