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
@@ -4117,6 +4116,7 @@ def write(
41174116 data_columns = None ,
41184117 track_times = True ,
41194118 ):
4119+ from tables import __version__ as tables_version
41204120
41214121 if not append and self .is_exists :
41224122 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