MCPcopy Create free account
hub / github.com/apache/arrow / test_unicode_filename

Function test_unicode_filename

python/pyarrow/tests/test_feather.py:531–536  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

529@pytest.mark.skipif(not os.path.supports_unicode_filenames,
530 reason='unicode filenames not supported')
531def test_unicode_filename(version):
532 # GH #209
533 name = (b'Besa_Kavaj\xc3\xab.feather').decode('utf-8')
534 df = pd.DataFrame({'foo': [1, 2, 3, 4]})
535 _check_pandas_roundtrip(df, path=random_path(prefix=name),
536 version=version)
537
538
539@pytest.mark.pandas

Callers

nothing calls this directly

Calls 3

random_pathFunction · 0.85
_check_pandas_roundtripFunction · 0.70
decodeMethod · 0.45

Tested by

no test coverage detected