File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -615,7 +615,8 @@ def keys(self, kind='pandas') -> List[str]:
615615
616616 if kind == 'tables' :
617617 self ._check_if_open ()
618- return [n ._v_pathname for n in self ._handle .walk_nodes ('/' , classname = 'Table' )]
618+ return [n ._v_pathname
619+ for n in self ._handle .walk_nodes ('/' , classname = 'Table' )]
619620 raise ValueError (f"kind should be either pandas' or 'table' but is { kind } " )
620621
621622 def __iter__ (self ):
Original file line number Diff line number Diff line change @@ -302,10 +302,13 @@ def test_non_pandas_keys(self, setup_path):
302302
303303 class Table1 (tables .IsDescription ):
304304 value1 = tables .Float32Col ()
305+
305306 class Table2 (tables .IsDescription ):
306307 value2 = tables .Float32Col ()
308+
307309 class Table3 (tables .IsDescription ):
308310 value3 = tables .Float32Col ()
311+
309312 with ensure_clean_path (setup_path ) as path :
310313 with tables .open_file (path , mode = "w" ) as h5file :
311314 group = h5file .create_group ("/" , "group" )
You can’t perform that action at this time.
0 commit comments