Skip to content

Commit

Permalink
re-comment out problematic line
Browse files Browse the repository at this point in the history
  • Loading branch information
whohensee committed Jul 3, 2024
1 parent 9907e46 commit 860cc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures/ptf.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def ptf_ref(
yield ref

with SmartSession() as session:
coadd_image = coadd_image.merge_all(session=session) # questionable, ask guy
# coadd_image = coadd_image.merge_all(session=session) # questionable, ask guy
coadd_image.delete_from_disk_and_database(commit=True, session=session, remove_downstreams=True)
ref_in_db = session.scalars(sa.select(Reference).where(Reference.id == ref.id)).first()
assert ref_in_db is None # should have been deleted by cascade when image is deleted
Expand Down

0 comments on commit 860cc64

Please sign in to comment.