Skip to content

Conversation

@laldoroty
Copy link
Collaborator

No description provided.

@laldoroty laldoroty linked an issue Aug 13, 2025 that may be closed by this pull request
6 tasks
@laldoroty laldoroty requested a review from rknop August 13, 2025 23:10
Copy link
Collaborator

@rknop rknop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few small comments

}

# @pytest.fixture( scope='session' )
# def test_truth_file():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is commented out, but : I'm always afraid to name pytest fixtures anything starting with test_, because the way pytest works is it looks through all of the files in directories you tell it to run and looks for functions whose names start with test. (It may only look through files whose names themselves start with test; one of the things I really don't like about pytest is that it's behavior depends so much on the details of how you name stuff. I thought we got rid of that shit when we got rid of Fortran-77.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I named it this because the fixture above it is called "test_dia_image"--should I rename that, as well?

@laldoroty laldoroty marked this pull request as ready for review August 14, 2025 18:58
@laldoroty laldoroty requested a review from a team as a code owner August 14, 2025 18:58
@rknop rknop merged commit 9c64133 into main Aug 14, 2025
3 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 14, 2025
Tests, docstrings, and deprecation for utils.py 9c64133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for utils.py

3 participants