Skip to content

Conversation

@sushobhana
Copy link
Member

MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Tried to change this according to their suggestion : Please use node.get_closest_marker(name) or node.iter_markers(name).
https://docs.pytest.org/en/latest/mark.html#updating-code
Test failing report for astropy/regions : https://travis-ci.org/astropy/regions/jobs/387743813

MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Tried to change this according to their suggestion : Please use node.get_closest_marker(name) or node.iter_markers(name).
https://docs.pytest.org/en/latest/mark.html#updating-code
Test failing report for astropy/regions  : https://travis-ci.org/astropy/regions/jobs/387743813
@coveralls
Copy link

coveralls commented Jun 4, 2018

Coverage Status

Coverage decreased (-84.4%) to 0.0% when pulling 11f3b59 on sushobhana:patch-1 into 0e5c829 on astrofrog:master.

@bsipocz
Copy link
Member

bsipocz commented Jun 4, 2018

@sushobhana - Do you know which one is the oldest pytest version that supports the new API? Accepting this PR now will mean that our minimum required version will need to be changed, too.

@sushobhana
Copy link
Member Author

@bsipocz - I have no idea! But let me check.

@sushobhana
Copy link
Member Author

Should I close this, since the tests are now passing?

@bsipocz
Copy link
Member

bsipocz commented Jun 5, 2018

The deprecations are still there, we just ignore them for the moment. For the long term, we'll need this definitely, but whether we can merge it in now or not really depends on my question above about the minimum version number if makes us to require.

@astrofrog astrofrog merged commit 6c8bec9 into astropy:master Dec 5, 2018
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.

4 participants