You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding the pytest dependency version 8 and above to pyproject.toml, there were problems with some tests due to a bug in pytest release 8.0.0.
For example, in the firebird-qa/tests/bugs/core_0859_test.py test there is a problem with exception handling:
self = <ExceptionInfo DatabaseError('Datatype ARRAY is not supported for sorting operation') tblen=5>
exc = DatabaseError('Datatype ARRAY is not supported for sorting operation')
def _stringify_exception(self, exc: BaseException) -> str:
return "\n".join(
> [
str(exc),
*getattr(exc, "__notes__", []),
]
)
E TypeError: 'NoneType' object is not iterable
/usr/local/lib/python3.8/site-packages/_pytest/_code/code.py:702: TypeError
After adding the pytest dependency version 8 and above to pyproject.toml, there were problems with some tests due to a bug in pytest release 8.0.0.
For example, in the firebird-qa/tests/bugs/core_0859_test.py test there is a problem with exception handling:
Similar problem in pytest-dev: pytest-dev/pytest#11872
The text was updated successfully, but these errors were encountered: