Skip to content
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

Completed pytests and test conversions tests for tests/test_locking.py #961

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

hbrown-ST
Copy link
Collaborator

Got the locking tests done. Still having ttat slight logging issue but I think as long as it works and is testing the same functionality it can be figured out at a later date.

Copy link
Collaborator

@stscieisenhamer stscieisenhamer left a comment

Choose a reason for hiding this comment

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

Just a IMHO commentary about unused function returns. But otherwise LGTM


@mark.locking
def test_multiprocessing_locking(default_shared_state, capsys):
_ = config.LOCKING_MODE.set("multiprocessing")
Copy link
Collaborator

Choose a reason for hiding this comment

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

If the return is not used in anyway, there is no reason to explicitly save it to nothing. For me, it confuses readability.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Likewise, I'll space that return.

@hbrown-ST hbrown-ST merged commit c6214ae into pytest-migration Sep 20, 2023
0 of 3 checks passed
@hbrown-ST hbrown-ST deleted the CCD-1339 branch September 20, 2023 14:57
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.

3 participants