Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use six's assertRaisesRegex compatibility layer #794

Open
ElDeveloper opened this issue Sep 11, 2018 · 0 comments
Open

Use six's assertRaisesRegex compatibility layer #794

ElDeveloper opened this issue Sep 11, 2018 · 0 comments

Comments

@ElDeveloper
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant