We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c355ed1 commit feac84cCopy full SHA for feac84c
pandas/tests/io/json/test_readlines.py
@@ -192,7 +192,7 @@ def test_readjson_chunks_multiple_empty_lines(chunksize):
192
193
def test_readjson_unicode(monkeypatch):
194
with tm.ensure_clean("test.json") as path:
195
- monkeypatch.setattr("_bootlocale.getpreferredencoding", lambda l: "cp949")
+ monkeypatch.setattr("locale.getpreferredencoding", lambda l: "cp949")
196
with open(path, "w", encoding="utf-8") as f:
197
f.write('{"£©µÀÆÖÞßéöÿ":["АБВГДабвгд가"]}')
198
0 commit comments