-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot import xarray.tests due to use of pytest.config #1353
Comments
pytest-dev/pytest#472 from BitBucket #472 seems to touch on this topic and references the note found at the end of the skip and xfail documentation:
|
Hmm. This seems like an easy way to add a few options to running our test suite, but maybe there is a better way to do this? I guess we could hack in a fallback with Just out of curiosity, what reason did you have for importing |
|
@jjhelmus Agreed! For testing public API, being able to import |
See discussion in pydata/xarray#1353
@shoyer Agreed, there is no need for |
See discussion in pydata/xarray#1353
xarray.tests cannot be imported due to the use of pytest.config:
The use of pytest.config in the
xarray/tests/__init__.py
seem to have been introduced in #1336. From the discussion in pytest-dev/pytest#1688 it seems as if the use ofpytest.config
is discouraged.The text was updated successfully, but these errors were encountered: