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 | 709 def check_fsencoding(self, fs_encoding, expected=None): argument 710 self.assertIsNotNone(fs_encoding) 711 codecs.lookup(fs_encoding) 713 self.assertEqual(fs_encoding, expected) 716 fs_encoding = sys.getfilesystemencoding() 721 self.check_fsencoding(fs_encoding, expected)
|
/third_party/python/Python/ |
D | initconfig.c | 1977 wchar_t **fs_encoding) in config_get_fs_encoding() argument 1980 return PyConfig_SetString(config, fs_encoding, L"utf-8"); in config_get_fs_encoding() 1991 return PyConfig_SetString(config, fs_encoding, encoding); in config_get_fs_encoding() 1994 return PyConfig_SetString(config, fs_encoding, L"utf-8"); in config_get_fs_encoding() 1998 return PyConfig_SetString(config, fs_encoding, L"ascii"); in config_get_fs_encoding() 2001 return config_get_locale_encoding(config, preconfig, fs_encoding); in config_get_fs_encoding()
|