-
Notifications
You must be signed in to change notification settings - Fork 2
Tests, docstrings, and deprecation for utils.py #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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(): |
There was a problem hiding this comment.
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.)
There was a problem hiding this comment.
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?
Tests, docstrings, and deprecation for utils.py 9c64133
No description provided.