MCPcopy
hub / github.com/pandas-dev/pandas / check_external_error_on_write

Method check_external_error_on_write

pandas/tests/io/test_parquet.py:386–389  ·  view source on GitHub ↗
(self, df, engine, exc, temp_file_path)

Source from the content-addressed store, hash-verified

384 to_parquet(df, temp_file_path, engine, compression=None)
385
386 def check_external_error_on_write(self, df, engine, exc, temp_file_path):
387 # check that an external library is raising the exception on writing
388 with tm.external_error_raised(exc):
389 to_parquet(df, temp_file_path, engine, compression=None)
390
391
392class TestBasic(Base):

Callers 2

test_unsupportedMethod · 0.45

Calls 1

to_parquetFunction · 0.90

Tested by

no test coverage detected