Skip to content

Commit

Permalink
Update polars_engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicBboy authored Sep 21, 2024
1 parent dc4d7f0 commit 6e8a657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandera/engines/polars_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def check(

return (

Check warning on line 720 in pandera/engines/polars_engine.py

View check run for this annotation

Codecov / codecov/patch

pandera/engines/polars_engine.py#L720

Added line #L720 was not covered by tests
self.type == pandera_dtype.type
and (self.type.categories == getattr(pandera_dtype, "categories", None)).all()
and (self.type.categories == pandera_dtype.categories).all() # type: ignore
)


Expand Down

0 comments on commit 6e8a657

Please sign in to comment.