biom-format
biom-format copied to clipboard
Use six's assertRaisesRegex compatibility layer
In unit tests where the same exception can be raised by multiple different cases it would be handy to also check for the error message. Since biom provides py2/py3 support this will need to use six's assertRaisesRegex instead of the method from the TestCase class.