MCPcopy Create free account
hub / github.com/dask/dask / test_to_sql_kwargs

Function test_to_sql_kwargs

dask/dataframe/io/tests/test_sql.py:561–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559
560
561def test_to_sql_kwargs():
562 ddf = dd.from_pandas(df, 2)
563 with tmp_db_uri() as uri:
564 ddf.to_sql("test", uri, method="multi")
565 with pytest.raises(
566 TypeError, match="to_sql\\(\\) got an unexpected keyword argument 'unknown'"
567 ):
568 ddf.to_sql("test", uri, unknown=None)
569
570
571def test_to_sql_engine_kwargs(caplog):

Callers

nothing calls this directly

Calls 2

tmp_db_uriFunction · 0.85
to_sqlMethod · 0.80

Tested by

no test coverage detected