Skip to content

Commit 9f44a4e

Browse files
committed
dtypes no longer nested under pl$dtypes in R polars pacakge.
1 parent ab350e2 commit 9f44a4e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

rpy2_arrow/tests_polars.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,10 @@ def test_converter_py2rpy_dataframe(self, values, dtype, rpotype, cmp):
116116
R_DOLLAR(r_podataf, 'schema'), 1
117117
)[0]
118118
type_in_library = R_DOLLAR(
119-
R_DOLLAR(
120-
getattr(
121-
rpy2polars.rpack_polars, 'pl'
122-
),
123-
'dtypes'
119+
getattr(
120+
rpy2polars.rpack_polars, 'pl'
124121
),
125-
rpotype
126-
)
122+
rpotype)
127123
assert R_EQUAL(
128124
field,
129125
# `r-polars` is a bit inconsistent in the way it declares

0 commit comments

Comments
 (0)