Skip to content

Commit

Permalink
formatting lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Jan 15, 2023
1 parent 78eed0a commit 70bbcef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions py-polars/tests/unit/test_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,11 @@ def test_from_arrow() -> None:
with pytest.raises(ValueError):
_ = pl.from_arrow([1, 2])

df = pl.from_arrow(data, columns=["a", "b"], dtypes={"a": pl.UInt32 ,"b": pl.UInt64})
df = pl.from_arrow(
data, columns=["a", "b"], dtypes={"a": pl.UInt32, "b": pl.UInt64}
)
assert df.rows() == [(1, 4), (2, 5), (3, 6)] # type: ignore[union-attr]
assert df.schema == {"a": pl.UInt32 ,"b": pl.UInt64}
assert df.schema == {"a": pl.UInt32, "b": pl.UInt64}


def test_from_pandas_dataframe() -> None:
Expand Down

0 comments on commit 70bbcef

Please sign in to comment.