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

TST: migrate test_disks.py from nose to pytest #4897

Merged

Conversation

neutrinoceros
Copy link
Member

PR Summary

A side product of my manual fixing of #4895

@neutrinoceros neutrinoceros added tests: running tests Issues with the test setup refactor improve readability, maintainability, modularity pytest and removed tests: running tests Issues with the test setup labels Jun 27, 2024
@neutrinoceros
Copy link
Member Author

Looks like I forgot to undraft this. Rebased to fix a conflict.
Can I ask @yut23 , @chrishavlin or @cphyc for a review ?

@neutrinoceros neutrinoceros marked this pull request as ready for review June 27, 2024 10:55
@chrishavlin chrishavlin self-requested a review June 27, 2024 14:05
@@ -44,3 +44,4 @@
--ignore-file=test_minimal_representation\.py
--ignore-file=test_set_log_level\.py
--ignore-file=test_field_parsing\.py
--ignore-file=test_disks\.py
Copy link
Contributor

Choose a reason for hiding this comment

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

Should also this add to yt/tests/test.yaml -- though tests ran just fine, so maybe we don't need to actually be doing that anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed it seems that it's not needed here, but I don't know why TBH

Copy link
Contributor

Choose a reason for hiding this comment

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

well I"ll hit approve and let you decide if you want to add it down in yt/test/test.yaml as well :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd tend to say "let's not fix it if it ain't broke"

@neutrinoceros neutrinoceros merged commit 76feff7 into yt-project:main Jul 1, 2024
13 checks passed
@neutrinoceros neutrinoceros deleted the tst/migrate_test_disks branch July 1, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pytest refactor improve readability, maintainability, modularity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants