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 18
18
from pandas .tests .io .pytables .common import ensure_clean_store
19
19
20
20
from pandas .io .pytables import (
21
- Term ,
22
21
_maybe_adjust_name ,
22
+ _Term as Term ,
23
23
)
24
24
25
25
pytestmark = [pytest .mark .single_cpu ]
@@ -45,7 +45,7 @@ def test_pass_spec_to_storer(setup_path):
45
45
"format store. this store must be selected in its entirety"
46
46
)
47
47
with pytest .raises (TypeError , match = msg ):
48
- store .select ("df" , where = [( "columns=A" ) ])
48
+ store .select ("df" , where = ["columns=A" ])
49
49
50
50
51
51
def test_table_index_incompatible_dtypes (setup_path ):
Original file line number Diff line number Diff line change 31
31
)
32
32
33
33
from pandas .io import pytables
34
- from pandas .io .pytables import Term
34
+ from pandas .io .pytables import _Term as Term
35
35
36
36
pytestmark = [pytest .mark .single_cpu ]
37
37
Original file line number Diff line number Diff line change 23
23
ensure_clean_store ,
24
24
)
25
25
26
- from pandas .io .pytables import Term
26
+ from pandas .io .pytables import _Term as Term
27
27
28
28
pytestmark = [pytest .mark .single_cpu ]
29
29
@@ -143,7 +143,7 @@ def test_select(setup_path):
143
143
tm .assert_frame_equal (expected , result )
144
144
145
145
# equivalently
146
- result = store .select ("df" , [( "columns=['A', 'B']" ) ])
146
+ result = store .select ("df" , ["columns=['A', 'B']" ])
147
147
expected = df .reindex (columns = ["A" , "B" ])
148
148
tm .assert_frame_equal (expected , result )
149
149
You can’t perform that action at this time.
0 commit comments