Skip to content

I/O operation on closed file #1664

@serhiy-storchaka

Description

@serhiy-storchaka

Running Black 20.8b1 with the --diff option on a tree (> 100 files) produces errors like

error: cannot format tests/api/test_core.py: I/O operation on closed file

Running black --diff with a single file does not produce this error.

Linux/Python 3.7.8+

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions