#NEWLINE# def test_apply_filter_query_empty( test_df ) : #NEWLINE# #INDENT# filters = [ 'col1 < 1' , 'col2 > 8' ] #NEWLINE# filtered = util . apply_filter_query ( test_df , filters ) #NEWLINE# expected = pd . DataFrame ( { #NEWLINE# #INDENT# 'col1' : [ ] , #NEWLINE# 'col2' : [ ] , #NEWLINE# #UNINDENT# } , index = [ ] ) #NEWLINE# pdt . assert_frame_equal ( filtered , expected , check_dtype = False )