Title: Unclosed file warning in test_image.test_imread_pil_uint16 · Issue #5364 · matplotlib/matplotlib · GitHub
Open Graph Title: Unclosed file warning in test_image.test_imread_pil_uint16 · Issue #5364 · matplotlib/matplotlib
X Title: Unclosed file warning in test_image.test_imread_pil_uint16 · Issue #5364 · matplotlib/matplotlib
Description: matplotlib.tests.test_image.test_imread_pil_uint16 ... /home/mdboom/.pyenv/versions/miniconda3-3.16.0/lib/python3.4/site-packages/PIL/Image.py:665: ResourceWarning: unclosed file <_io.TextIOWrapper name='/matplotlib/tests/baseline_images...
Open Graph Description: matplotlib.tests.test_image.test_imread_pil_uint16 ... /home/mdboom/.pyenv/versions/miniconda3-3.16.0/lib/python3.4/site-packages/PIL/Image.py:665: ResourceWarning: unclosed file <_io.TextIOWrapper...
X Description: matplotlib.tests.test_image.test_imread_pil_uint16 ... /home/mdboom/.pyenv/versions/miniconda3-3.16.0/lib/python3.4/site-packages/PIL/Image.py:665: ResourceWarning: unclosed file <_io.TextIOWrap...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5364
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unclosed file warning in test_image.test_imread_pil_uint16","articleBody":"```\nmatplotlib.tests.test_image.test_imread_pil_uint16 ... /home/mdboom/.pyenv/versions/miniconda3-3.16.0/lib/python3.4/site-packages/PIL/Image.py:665: ResourceWarning: unclosed file \u003c_io.TextIOWrapper name='/matplotlib/tests/baseline_images/test_image/uint16.tif' mode='r+' encoding='UTF-8'\u003e\n self.load()\n/matplotlib/image.py:1304: ResourceWarning: unclosed file \u003c_io.BufferedReader name='/matplotlib/tests/baseline_images/test_image/uint16.tif'\u003e\n im = pilread(fname)\nok\n```\n","author":{"url":"https://github.com/mdboom","@type":"Person","name":"mdboom"},"datePublished":"2015-10-30T17:52:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5364/matplotlib/issues/5364"}
| 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:42c28dfa-f552-b774-8bfb-f42b1ce8939a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B1A:3393C6:C4DA97:11F4BB6:6A560B00 |
| html-safe-nonce | 3768328f67415d10eafaf57965ba22d0c567d5b601c8e9b9cbb9ba672f85f7f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjFBOjMzOTNDNjpDNERBOTc6MTFGNEJCNjo2QTU2MEIwMCIsInZpc2l0b3JfaWQiOiIyMTM2MzkyODI0NDU1MDM5NzQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f469ccaa44adad519bbdbdc1dbdf3097a61870dc072001dc5f419d8e2fa4e3c2 |
| hovercard-subject-tag | issue:114321721 |
| 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/5364/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cfa8ea69e4a41af07ff4bcf2e3a9fb58be67c4965f1c90a02cd3b67fa4aa3f27/matplotlib/matplotlib/issues/5364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfa8ea69e4a41af07ff4bcf2e3a9fb58be67c4965f1c90a02cd3b67fa4aa3f27/matplotlib/matplotlib/issues/5364 |
| og:image:alt | matplotlib.tests.test_image.test_imread_pil_uint16 ... /home/mdboom/.pyenv/versions/miniconda3-3.16.0/lib/python3.4/site-packages/PIL/Image.py:665: ResourceWarning: unclosed file <_io.TextIOWrapper... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdboom |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| 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 | 85a7179838b41e8b23f939d3b67b53f752ecfc54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width