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

conftest #159

Merged
merged 13 commits into from
Aug 31, 2020
Merged

conftest #159

merged 13 commits into from
Aug 31, 2020

Conversation

aaronspring
Copy link
Collaborator

@aaronspring aaronspring commented Aug 28, 2020

Description

  • conftest

  • simplified weights fixture

  • removed test_no_deterministic as very close to test_metric_results_accurate.py

  • test_skipna_functionality: I dont understand the last test, see https://github.com/raybellwaves/xskillscore/issues/79, changed that test

  • why do we have test_skipna_functionality (mostly about time?) and test_mask_skipna (about lon lat?)?

Closes #126

Type of change

Please delete options that are not relevant.

  • refactoring

How Has This Been Tested?

@aaronspring aaronspring self-assigned this Aug 28, 2020
@aaronspring aaronspring changed the title As conftest conftest Aug 28, 2020
@aaronspring aaronspring marked this pull request as ready for review August 28, 2020 12:25
@aaronspring aaronspring mentioned this pull request Aug 28, 2020
10 tasks
@raybellwaves
Copy link
Member

LGTM.

Given that you've gone through tests and are unclear why some exist it's probably enough motivation to drop them. Unless the author of the test says otherwise (apologies if it was me...).

Motivated me to refactor test_metric_results_accurate.py.

May want to check if @bradyrx has any input. Otherwise welcome to merge.

@aaronspring aaronspring merged commit e81c400 into xarray-contrib:master Aug 31, 2020
bradyrx pushed a commit that referenced this pull request Sep 6, 2020
* accessor tests

* add conftest.py

* PERIODS=10 for effective metrics

* probabilistic

* rm test_np_deterministic as too close to test_metric_results_accurate

* skipna, probabilistic and mark slow

* del unnessessary

* speedup crps_quad tests

* refactor test_metric_results_accurate.py

* rm unneccessary dask_bool accessor tests

Co-authored-by: Ray Bell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use pytest conftest
2 participants