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

Use pathlib for dials_regression tests #2435

Merged
merged 11 commits into from
Aug 11, 2023
Merged

Conversation

ndevenish
Copy link
Member

Make the dials_regression fixture return pathlib.Path, and annotate any functions using it to say this. Annotation isn't necessary, but is a useful signal if people are refactoring in the future.

Surprisingly, only one test failed; test_mosflm_export, because it does a json.dumps in order to escape the path properly on windows.

@ndevenish ndevenish merged commit 33a8f49 into dials:main Aug 11, 2023
3 of 5 checks passed
toastisme pushed a commit to toastisme/dials that referenced this pull request Aug 21, 2023
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.

None yet

4 participants