published by | Adam Johnson |
---|---|
in blog | Adam Johnson |
original entry | Django: silence “Exception ignored in ... OutputWrapper” |
You might see this message when running pytest on your Django project:
$ pytest
...
Exception ignored in: <django.core.management.base.OutputWrapper object at 0x108576170>
Traceback (most recent call last):
File "/.../django/core/management/base.py", line 171, in flush
self._out.flush()
ValueError: I/O operation on closed file.
The …