Skip to content

Commit

Permalink
style: fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
reata committed Dec 30, 2023
1 parent 3f450d6 commit 54e653c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def generate_metadata_providers(test_schemas):
if schema not in ("main", "temp") and not inspect(
sqlite3_sqlalchemy_provider.engine
).has_schema(schema):
db_file_path = Path(os.path.dirname(__file__)).parent.joinpath(f"{schema}.db")
db_file_path = Path(os.path.dirname(__file__)).parent.joinpath(
f"{schema}.db"
)
with sqlite3_sqlalchemy_provider.engine.connect() as conn:
conn.execute(text(f"ATTACH DATABASE '{db_file_path}' AS '{schema}'"))
SQLAlchemyTable(
Expand Down

0 comments on commit 54e653c

Please sign in to comment.