Skip to content

Commit 8ca780c

Browse files
committed
Apply Black
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01StxDiBxEbsv8VBmqxamgUV
1 parent 89b3724 commit 8ca780c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎tests/test_transform.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,16 +441,14 @@ def test_transform_on_delete_cascade_does_not_delete_records(
441441
# not cascade and delete the referencing records
442442
if use_pragma_foreign_keys:
443443
fresh_db.conn.execute("PRAGMA foreign_keys=ON")
444-
fresh_db.executescript(
445-
"""
444+
fresh_db.executescript("""
446445
CREATE TABLE authors (id INTEGER PRIMARY KEY, name TEXT);
447446
CREATE TABLE books (
448447
id INTEGER PRIMARY KEY,
449448
title TEXT,
450449
author_id INTEGER REFERENCES authors(id) ON DELETE CASCADE
451450
);
452-
"""
453-
)
451+
""")
454452
fresh_db["authors"].insert({"id": 1, "name": "Ursula K. Le Guin"})
455453
fresh_db["books"].insert({"id": 1, "title": "The Dispossessed", "author_id": 1})
456454
# Transform the table on the other end of the cascading foreign key

0 commit comments

Comments
 (0)