drizzlepac icon indicating copy to clipboard operation
drizzlepac copied to clipboard

[tests] `compare_outputs`'s `AssertionError` can be massive

Open zacharyburnett opened this issue 1 year ago • 2 comments

If the fits diff has a lot of lines, that is all pushed into the AssertionError and printed into the pytest log. This can make the test log thousands of lines long; is it possible to summarize this into a simple line count? https://github.com/spacetelescope/drizzlepac/blob/d345a84a487910c6827fa20f8fc79e09dab4c0a1/tests/resources.py#L212

https://github.com/spacetelescope/RegressionTests/actions/runs/10514121938/job/29131353758#step:29:37022

zacharyburnett avatar Aug 23 '24 12:08 zacharyburnett

This issue is tracked on JIRA as HLA-1316.

stscijgbot-hstdp avatar Aug 23 '24 12:08 stscijgbot-hstdp

useful in https://github.com/spacetelescope/RegressionTests/pull/122

zacharyburnett avatar Sep 10 '24 17:09 zacharyburnett

closed by #1928

s-goldman avatar Jan 23 '25 16:01 s-goldman