8000 Unclosed file warning in test_image.test_imread_pil_uint16 · Issue #5364 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Unclosed file warning in test_image.test_imread_pil_uint16 #5364
Closed
@mdboom

Description

@mdboom
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/test_image/uint16.tif' mode='r+' encoding='UTF-8'>
  self.load()
/matplotlib/image.py:1304: ResourceWarning: unclosed file <_io.BufferedReader name='/matplotlib/tests/baseline_images/test_image/uint16.tif'>
  im = pilread(fname)
ok

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0