File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818from pandas .tests .io .pytables .common import ensure_clean_store
1919
2020from pandas .io .pytables import (
21- Term ,
2221 _maybe_adjust_name ,
22+ _Term as Term ,
2323)
2424
2525pytestmark = [pytest .mark .single_cpu ]
@@ -45,7 +45,7 @@ def test_pass_spec_to_storer(setup_path):
4545 "format store. this store must be selected in its entirety"
4646 )
4747 with pytest .raises (TypeError , match = msg ):
48- store .select ("df" , where = [( "columns=A" ) ])
48+ store .select ("df" , where = ["columns=A" ])
4949
5050
5151def test_table_index_incompatible_dtypes (setup_path ):
Original file line number Diff line number Diff line change 3131)
3232
3333from pandas .io import pytables
34- from pandas .io .pytables import Term
34+ from pandas .io .pytables import _Term as Term
3535
3636pytestmark = [pytest .mark .single_cpu ]
3737
Original file line number Diff line number Diff line change 2323 ensure_clean_store ,
2424)
2525
26- from pandas .io .pytables import Term
26+ from pandas .io .pytables import _Term as Term
2727
2828pytestmark = [pytest .mark .single_cpu ]
2929
@@ -143,7 +143,7 @@ def test_select(setup_path):
143143 tm .assert_frame_equal (expected , result )
144144
145145 # equivalently
146- result = store .select ("df" , [( "columns=['A', 'B']" ) ])
146+ result = store .select ("df" , ["columns=['A', 'B']" ])
147147 expected = df .reindex (columns = ["A" , "B" ])
148148 tm .assert_frame_equal (expected , result )
149149
You can’t perform that action at this time.
0 commit comments