-
Notifications
You must be signed in to change notification settings - Fork 583
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
Investigate failing py3 build with multiple test failures #796
Comments
I think the issue is that pytest.raises now returns: https://docs.pytest.org/en/latest/reference.html#exceptioninfo |
pytest-dev/pytest#5412 breaks the tests as str(e) no longer returns the message. |
In [5]: def a(): In [10]: with pytest.raises(Exception) as e: |
Need to change the the code to use str(e.value) instead of str(e) for py3. Need to check if the same works with py2. |
Fixed with PR: #797 |
E AssertionError: assert 'Library test' in '<ExceptionInfo LibraryNotFoundException tblen=3>' E + where '<ExceptionInfo LibraryNotFoundException tblen=3>' = str(<ExceptionInfo LibraryNotFoundException tblen=3>)
Multiple tests are failing with the above.
The text was updated successfully, but these errors were encountered: