File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1313import warnings
1414
1515import numpy as np
16- from tables import __version__ as tables_version
1716
1817from pandas ._config import config , get_option
1918
@@ -4110,6 +4109,7 @@ def write(
41104109 data_columns = None ,
41114110 track_times = True ,
41124111 ):
4112+ from tables import __version__ as tables_version
41134113
41144114 if not append and self .is_exists :
41154115 self ._handle .remove_node (self .group , "table" )
Original file line number Diff line number Diff line change @@ -300,10 +300,7 @@ def test_keys(self, setup_path):
300300
301301 @pytest .mark .skipif (
302302 LooseVersion (tables .__version__ ) < LooseVersion ("3.4.3" ),
303- reason = (
304- "Skipping pytables test when tables version is "
305- "lower than 3.4.3"
306- ),
303+ reason = ("Skipping pytables test when tables version is lower than 3.4.3" ),
307304 )
308305 def test_no_track_times (self , setup_path ):
309306
You can’t perform that action at this time.
0 commit comments