home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 219611498

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
219611498 MDU6SXNzdWUyMTk2MTE0OTg= 1353 Cannot import xarray.tests due to use of pytest.config 1050278 closed 0     6 2017-04-05T14:55:31Z 2017-04-06T18:12:18Z 2017-04-06T18:12:18Z CONTRIBUTOR      

xarray.tests cannot be imported due to the use of pytest.config:

$ python -c "import xarray; print(xarray.__version__); import xarray.tests" 0.9.2-3-g9479038 Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/jhelmus/devel/xarray/xarray/tests/__init__.py", line 118, in <module> not pytest.config.getoption("--run-flaky"), AttributeError: module 'pytest' has no attribute '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 of pytest.config is discouraged.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1353/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.53ms · About: xarray-datasette