Title: Tests fail with pytest 4.1 · Issue #13121 · matplotlib/matplotlib · GitHub
Open Graph Title: Tests fail with pytest 4.1 · Issue #13121 · matplotlib/matplotlib
X Title: Tests fail with pytest 4.1 · Issue #13121 · matplotlib/matplotlib
Description: Bug report pytest 4.1 has just been released. According to the changelog, it removes pytest-dev/pytest#4546: Remove Node.get_marker(name) the return value was not usable for more than a existence check. which causes our CI tests to fail:...
Open Graph Description: Bug report pytest 4.1 has just been released. According to the changelog, it removes pytest-dev/pytest#4546: Remove Node.get_marker(name) the return value was not usable for more than a existence c...
X Description: Bug report pytest 4.1 has just been released. According to the changelog, it removes pytest-dev/pytest#4546: Remove Node.get_marker(name) the return value was not usable for more than a existence c...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/13121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests fail with pytest 4.1","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\npytest 4.1 has just been released. According to the changelog, it removes \r\n\r\n\u003e https://github.com/pytest-dev/pytest/issues/4546: Remove Node.get_marker(name) the return value was not usable for more than a existence check.\r\n\r\nwhich causes our CI tests to fail:\r\n\r\n~~~\r\n______________________________ test_parse_header _______________________________\r\n[gw1] linux -- Python 3.6.7 /home/travis/virtualenv/python3.6.7/bin/python\r\nself = \u003cpytest_cov.plugin.CovPlugin object at 0x7f551435ca58\u003e\r\nitem = \u003cFunction test_parse_header\u003e\r\n @compat.hookwrapper\r\n def pytest_runtest_call(self, item):\r\n\u003e if (item.get_marker('no_cover')\r\n or 'no_cover' in getattr(item, 'fixturenames', ())):\r\nE AttributeError: 'Function' object has no attribute 'get_marker'\r\n../../../virtualenv/python3.6.7/lib/python3.6/site-packages/pytest_cov/plugin.py:289: AttributeError\r\n~~~\r\n\r\nThis is an issue with pytest-cov: https://github.com/pytest-dev/pytest-cov/pull/253\r\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2019-01-06T19:23:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/13121/matplotlib/issues/13121"}
| 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:3491b521-8c96-ef66-2e76-c940101030b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4F8:20ECC7:1A86454:231C3FF:6A52CB5F |
| html-safe-nonce | ef860bc90be04c53451813c41d80f1b5722385f69617acdb064c0cc1cace87b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEY4OjIwRUNDNzoxQTg2NDU0OjIzMUMzRkY6NkE1MkNCNUYiLCJ2aXNpdG9yX2lkIjoiNzc3MDQ5ODc5Njk5MjI1Mjc2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8775c249644aee1aeb47a650048e94a2379603fa4221f1fbc215261decda30c |
| hovercard-subject-tag | issue:396286287 |
| 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/13121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af33bb782b70a5f53aec9e27c1c1e8e9f88d6c46703f0ebe581b0a4d910c85b2/matplotlib/matplotlib/issues/13121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af33bb782b70a5f53aec9e27c1c1e8e9f88d6c46703f0ebe581b0a4d910c85b2/matplotlib/matplotlib/issues/13121 |
| og:image:alt | Bug report pytest 4.1 has just been released. According to the changelog, it removes pytest-dev/pytest#4546: Remove Node.get_marker(name) the return value was not usable for more than a existence c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width