Title: warnings re: deprecated pytest API with pytest 3.8 · Issue #12107 · matplotlib/matplotlib · GitHub
Open Graph Title: warnings re: deprecated pytest API with pytest 3.8 · Issue #12107 · matplotlib/matplotlib
X Title: warnings re: deprecated pytest API with pytest 3.8 · Issue #12107 · matplotlib/matplotlib
Description: Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings: /home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contai...
Open Graph Description: Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings: /home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: RemovedInPytest4Warning: MarkIn...
X Description: Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings: /home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: RemovedInPytest4Warning: MarkIn...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12107
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"warnings re: deprecated pytest API with pytest 3.8","articleBody":"Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings:\r\n```\r\n/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.\r\nPlease use node.get_closest_marker(name) or node.iter_markers(name).\r\nDocs: https://docs.pytest.org/en/latest/mark.html#updating-code\r\n assert len(style_marker.args) == 1, \\\r\n/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:39: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.\r\nPlease use node.get_closest_marker(name) or node.iter_markers(name).\r\nDocs: https://docs.pytest.org/en/latest/mark.html#updating-code\r\n style = style_marker.args[0]\r\n/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:67: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.\r\nPlease use node.get_closest_marker(name) or node.iter_markers(name).\r\nDocs: https://docs.pytest.org/en/latest/mark.html#updating-code\r\n baseline_images = request.keywords['baseline_images'].args[0]\r\n```\r\n@QuLogic looks like you wrote some of this (#7973), pinging you just in case you know how to update it :)\r\n\r\nNote that we didn't see this on CI because CI uses pytest-xdist and the latter suppresses internal warnings (https://github.com/pytest-dev/pytest-xdist/issues/338)...\r\n\r\nI guess it would be moderately nice to fix this in 3.0 but it's certainly not release critical.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2018-09-13T12:42:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/12107/matplotlib/issues/12107"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ee411bbc-b24b-38ef-cc69-aa8295702bcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99A4:19688F:5C9203:84F434:6A548CF7 |
| html-safe-nonce | f44c7b96c34aea054a815a5a25415586f9aa97ff7bdc3542ee1882bcc1edc6fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUE0OjE5Njg4Rjo1QzkyMDM6ODRGNDM0OjZBNTQ4Q0Y3IiwidmlzaXRvcl9pZCI6IjMyNzUzMDE4ODY1ODk0MzkyMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 15ffa96c834b3c47667dcd84c5a387b5f5b79727b8ae8244da2c6dc50fd9b066 |
| hovercard-subject-tag | issue:359878861 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/12107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3ba8bfc417553d34cab1bc243f4266181fe45fcfc5474dcb20577a8b8a21a26/matplotlib/matplotlib/issues/12107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3ba8bfc417553d34cab1bc243f4266181fe45fcfc5474dcb20577a8b8a21a26/matplotlib/matplotlib/issues/12107 |
| og:image:alt | Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings: /home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: RemovedInPytest4Warning: MarkIn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width