test_encodingutil: StdlibUnicode.test_open_representable no longer uses a mock.
This commit is contained in:
parent
7cc98759bd
commit
9a4a864573
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue