We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac62992 commit b8a3fb0Copy full SHA for b8a3fb0
1 file changed
tests/test_pandas.py
@@ -142,11 +142,11 @@ def testTabletoPandas(self):
142
df = to_python(table)
143
# Table types cannot be the same here, unless we want to cast.
144
# assert_same_table(table, df)
145
- assert type(df["header1"][0]) == float
146
- assert type(df["header2"][0]) == int
147
- assert type(df["header3"][0]) == bool
148
- assert type(df["header4"][0]) == str
149
- assert type(df["header5"][0]) == float
+ assert type(df["header1"][0]) is float
+ assert type(df["header2"][0]) is int
+ assert type(df["header3"][0]) is bool
+ assert type(df["header4"][0]) is str
+ assert type(df["header5"][0]) is float
150
151
def _fill_table(self, table, ndarr, ctor):
152
for i in range(table.getColumnCount()):
0 commit comments