Skip to content

Commit

Permalink
Remove print statements from tests (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Dec 28, 2021
1 parent df973a9 commit 4ae88c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions py-polars/tests/test_datelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def test_timestamp() -> None:
a = pl.Series("a", [a * 1000_000 for a in [10000, 20000, 30000]], dtype=pl.Datetime)
assert a.dt.timestamp() == [10000, 20000, 30000]
out = a.dt.to_python_datetime()
print(a.cast(int))
print(out)
assert isinstance(out[0], datetime)
assert a.dt.min() == out[0]
assert a.dt.max() == out[2]
Expand Down
1 change: 0 additions & 1 deletion py-polars/tests/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def test_date_datetime() -> None:
]
)

print(out)
assert out["date"].series_equal(df["day"].rename("date"))
assert out["h2"].series_equal(df["hour"].rename("h2"))

Expand Down

0 comments on commit 4ae88c1

Please sign in to comment.