issues: 346823063
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
346823063 | MDU6SXNzdWUzNDY4MjMwNjM= | 2337 | Test for warnings fail when using old version of pytest | 1217238 | closed | 0 | 2 | 2018-08-02T01:09:37Z | 2019-11-12T19:38:07Z | 2019-11-12T19:37:48Z | MEMBER | Some of our tests for warnings currently fail when run using an old version of pytest. The problem appears to be that we rely on pytest.warns() accepting subclasses rather exact matches. This was fixed upstream in pytest (https://github.com/pytest-dev/pytest/pull/2166), but we still should specify the more specific warning types in xarray. ``` =================================== FAILURES =================================== __ TestEncodeCFVariable.testmissing_fillvalue ____ self = <xarray.tests.test_conventions.TestEncodeCFVariable testMethod=test_missing_fillvalue>
tests/test_conventions.py:89: Failed _____ TestAlias.test _____ self = <xarray.tests.test_utils.TestAlias testMethod=test>
tests/test_utils.py:28: Failed ___ TestIndexVariable.test_coordinate_alias ______ self = <xarray.tests.test_variable.TestIndexVariable testMethod=test_coordinate_alias>
tests/test_variable.py:1752: Failed ____ TestAccessor.test_register ______ self = <xarray.tests.test_extensions.TestAccessor testMethod=test_register>
tests/test_extensions.py:60: Failed ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |