Skip to content

Commit

Permalink
Fix files left over by testing (#1446)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Oct 10, 2024
1 parent c806e09 commit 1945dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/1446.general.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Have pytest clean up some files when it finishes running tests.
2 changes: 1 addition & 1 deletion romancal/outlier_detection/tests/test_outlier_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_find_outliers(tmp_path, base_image, on_disk):
img = base_image()
img.data[42, 72] = source_value
img.err[:] = err_value
img.meta.filename = f"img{i}_suffix.asdf"
img.meta.filename = str(tmp_path / f"img{i}_suffix.asdf")
img.meta.observation.exposure = i
img.meta.background.level = 0 * u.DN / u.s
imgs.append(img)
Expand Down

0 comments on commit 1945dad

Please sign in to comment.