Update test suite after change in error handling
Update test suite after change in error handling

TypeError was changed into EnvironmentError because I felt it was more
appropriate, however I forgot to mention this in previous commit
messages and it is a backwards incompatible change, so it's good that I
ran into this 😇.

xolox/python-deb-pkg-tools,xolox/python-deb-pkg-tools