fix layout saving test
@@ -638,7 +638,7 @@ def test_layout_save(tmp_path, layout_7t_trt):
layout_7t_trt.save(str(tmp_path / "f.sqlite"),
replace_connection=False)
data_dir = join(get_test_data_path(), '7t_trt')
- layout = BIDSLayout(data_dir, database_path=str(tmp_path))
+ layout = BIDSLayout(data_dir, database_path=str(tmp_path / "f.sqlite"))
oldfies = set(layout_7t_trt.get(suffix='events', return_type='file'))
newfies = set(layout.get(suffix='events', return_type='file'))
assert oldfies == newfies
