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

change test dir to top level #111

Merged
merged 3 commits into from
Sep 13, 2024
Merged

change test dir to top level #111

merged 3 commits into from
Sep 13, 2024

Conversation

stevenhua0320
Copy link
Contributor

see Billingegroup/scikit-package#114 for more details

@bobleesj
Copy link
Contributor

bobleesj commented Sep 9, 2024

@stevenhua0320 Could you also try to remove run.py and debug.py? They were used previously to collect and run unittest functions. Now pytest is used instead.

@stevenhua0320
Copy link
Contributor Author

run via pytest
pytest
===================================================================== test session starts =====================================================================
platform darwin -- Python 3.12.4, pytest-7.4.4, pluggy-1.0.0
rootdir: /Users/huarundong/dbs/diffpy.srmise
collected 4 items

tests/test_dataclusters.py .... [100%]

====================================================================== 4 passed in 0.33s ======================================================================

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

please try and remove the tests/__init__.py

@sbillinge sbillinge merged commit f330de1 into diffpy:main Sep 13, 2024
3 checks passed
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