MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_getfilesystemencoding

Method test_getfilesystemencoding

Lib/test/test_sys.py:982–988  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

980 self.assertEqual(fs_encoding, expected)
981
982 def test_getfilesystemencoding(self):
983 fs_encoding = sys.getfilesystemencoding()
984 if sys.platform == 'darwin':
985 expected = 'utf-8'
986 else:
987 expected = None
988 self.check_fsencoding(fs_encoding, expected)
989
990 def c_locale_get_error_handler(self, locale, isolated=False, encoding=None):
991 # Force the POSIX locale

Callers

nothing calls this directly

Calls 1

check_fsencodingMethod · 0.95

Tested by

no test coverage detected