@@ -1295,14 +1295,14 @@ def check_col(key,name,size):
1295
1295
'string2=foo' ), Term ('A>0' ), Term ('B<0' )])
1296
1296
expected = df_new [(df_new .string == 'foo' ) & (
1297
1297
df_new .string2 == 'foo' ) & (df_new .A > 0 ) & (df_new .B < 0 )]
1298
- tm .assert_frame_equal (result , expected )
1298
+ tm .assert_frame_equal (result , expected , check_index_type = False )
1299
1299
1300
1300
# yield an empty frame
1301
1301
result = store .select ('df' , [Term ('string=foo' ), Term (
1302
1302
'string2=cool' )])
1303
1303
expected = df_new [(df_new .string == 'foo' ) & (
1304
1304
df_new .string2 == 'cool' )]
1305
- tm .assert_frame_equal (result , expected )
1305
+ tm .assert_frame_equal (result , expected , check_index_type = False )
1306
1306
1307
1307
with ensure_clean_store (self .path ) as store :
1308
1308
# doc example
@@ -1321,13 +1321,13 @@ def check_col(key,name,size):
1321
1321
result = store .select ('df_dc' , [Term ('B>0' )])
1322
1322
1323
1323
expected = df_dc [df_dc .B > 0 ]
1324
- tm .assert_frame_equal (result , expected )
1324
+ tm .assert_frame_equal (result , expected , check_index_type = False )
1325
1325
1326
1326
result = store .select (
1327
1327
'df_dc' , ['B > 0' , 'C > 0' , 'string == foo' ])
1328
1328
expected = df_dc [(df_dc .B > 0 ) & (df_dc .C > 0 ) & (
1329
1329
df_dc .string == 'foo' )]
1330
- tm .assert_frame_equal (result , expected )
1330
+ tm .assert_frame_equal (result , expected , check_index_type = False )
1331
1331
1332
1332
with ensure_clean_store (self .path ) as store :
1333
1333
# doc example part 2
0 commit comments