Skip to content

Commit 90a6598

Browse files
committed
change tests
1 parent 9c3f352 commit 90a6598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

protocol/tests/test_protocol.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_float_int(df_from_dict):
3636
}
3737
)
3838
dfX = df.__dataframe__()
39-
columns = [INT, INT, FLOAT, INT, BOOL, STRING]
39+
columns = {"a": 0, "b": 0, "c": 2, "d": 0, "e": 20, "f": 21}
4040

4141
for column, kind in columns.items():
4242
colX = dfX.get_column_by_name(column)
@@ -114,8 +114,8 @@ def test_get_columns(df_from_dict):
114114
for colX in dfX.get_columns():
115115
assert colX.size == 2
116116
assert colX.num_chunks() == 1
117-
assert dfX.get_column(0).dtype[0] == INT
118-
assert dfX.get_column(1).dtype[0] == FLOAT
117+
assert dfX.get_column(0).dtype[0] == 0
118+
assert dfX.get_column(1).dtype[0] == 2
119119

120120

121121
def test_buffer(df_from_dict):

0 commit comments

Comments
 (0)