Searched refs:fs_encoding (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/test/ |
D | test_c_locale_coercion.py | 115 def get_expected_details(cls, coercion_expected, fs_encoding, stream_encoding, env_vars): argument 130 return dict(cls(fs_encoding, *stream_info, *env_info)._asdict()) 288 fs_encoding, stream_encoding, argument 308 fs_encoding = EXPECTED_C_LOCALE_FS_ENCODING 341 fs_encoding, 356 fs_encoding,
|
D | test_imp.py | 123 fs_encoding = sys.getfilesystemencoding() 142 self.assertEqual(fs_encoding, 'utf-8') 147 special_char = known_locales.get(fs_encoding) 151 % fs_encoding) 152 decoded_char = special_char.decode(fs_encoding)
|
D | test_sys.py | 715 def check_fsencoding(self, fs_encoding, expected=None): argument 716 self.assertIsNotNone(fs_encoding) 717 codecs.lookup(fs_encoding) 719 self.assertEqual(fs_encoding, expected) 722 fs_encoding = sys.getfilesystemencoding() 727 self.check_fsencoding(fs_encoding, expected)
|
/third_party/python/Python/ |
D | initconfig.c | 2037 wchar_t **fs_encoding) in config_get_fs_encoding() argument 2040 return PyConfig_SetString(config, fs_encoding, L"utf-8"); in config_get_fs_encoding() 2051 return PyConfig_SetString(config, fs_encoding, encoding); in config_get_fs_encoding() 2054 return PyConfig_SetString(config, fs_encoding, L"utf-8"); in config_get_fs_encoding() 2058 return PyConfig_SetString(config, fs_encoding, L"ascii"); in config_get_fs_encoding() 2061 return config_get_locale_encoding(config, preconfig, fs_encoding); in config_get_fs_encoding()
|