Skip to content

Commit

Permalink
test: ✅ exclude string[pyarrow] from string to type parse test
Browse files Browse the repository at this point in the history
`string[pyarrow]` gets parsed to type `string` by pandas

Signed-off-by: Ajith Aravind <[email protected]>
  • Loading branch information
aaravind100 committed May 9, 2024
1 parent a449052 commit fdda32f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/core/test_pandas_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@


@pytest.mark.parametrize(
"data_type", list(pandas_engine.Engine.get_registered_dtypes())
"data_type",
[
data_type
for data_type in pandas_engine.Engine.get_registered_dtypes()
if data_type
!= pandas_engine.ArrowString # `string[pyarrow]` gets parsed to `string` by pandas
],
)
def test_pandas_data_type(data_type):
"""Test numpy engine DataType base class."""
Expand Down

0 comments on commit fdda32f

Please sign in to comment.