Tests should not fail due to a missing .gitignore
It is very common that VCS-specific files are thrown away when packaging for distributions as distributions may not use the same VCS as you.
The Debian package does not run any tests when building, and while I'm only guessing, this is probably due to the requirement that the original .gitignore
is kept around.
Traceback (most recent call last):
File "run_tests.py", line 36, in <module>
import test
File "/home/irl/debian/python-stem/test/__init__.py", line 71, in <module>
with open(os.path.join(STEM_BASE, '.gitignore')) as ignore_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/irl/debian/python-stem/.gitignore'