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

Function test_unicode_filename

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

Source from the content-addressed store, hash-verified

536@pytest.mark.skipif(not os.path.supports_unicode_filenames,
537 reason='unicode filenames not supported')
538def test_unicode_filename(version):
539 # GH #209
540 name = (b'Besa_Kavaj\xc3\xab.feather').decode('utf-8')
541 df = pd.DataFrame({'foo': [1, 2, 3, 4]})
542 _check_pandas_roundtrip(df, path=random_path(prefix=name),
543 version=version)
544
545
546@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