mkwiatkowski / pinocchio

pinocchio is a set of extensions to the nose unit testing framework for Python
38 stars 13 forks source link

Sanitize the filename used to store test errors in output_save.py #16

Closed davidovich closed 9 years ago

davidovich commented 9 years ago

When a test case fails and is named with invalid characters ('<' for example), output_save.py fails to write the test failure because the file name is invalid.

Also in this change: use correct name if error occurs in setup/teardown (related to #7).

fixes #8

mkwiatkowski commented 9 years ago

@davidovich thank you for the PR!