twisted / pydoctor

This is pydoctor, an API documentation generator that works by static analysis.
https://pydoctor.readthedocs.io
Other
179 stars 48 forks source link

Unit tests write to real file system #721

Open buhtz opened 1 year ago

buhtz commented 1 year ago

It seems that your unittests do write to the real filesystem and not cleaning up.

I have files and folders under /tmp/pytest-of-user.

  1. Minimally the tests should clean up after writing to the file system.
  2. Never write to the file system. Just use pyfakefs.