Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running nosetest with xunit, the tests would crash for external projects using python 3.5 with something similar to: Traceback (most recent call last): File "./lib/python3.5/site-packages/luigi/mock.py", line 128, in write stderrbytes = sys.stderr.buffer AttributeError: 'Tee' object has no attribute 'buffer' This is becuase xunit overrides sys.stderr, and the class it uses does not have a 'buffer' attribute. Nose source: https://github.com/nose-devs/nose/blob/master/nose/plugins/xunit.py#L127-L147
- Loading branch information