mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 21:43:06 +01:00
Fix problem with ndiff assert
This commit is contained in:
parent
28ef5c826c
commit
c74f923a5b
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2021-present The Firebird Projects <www.firebirdsql.org>
|
# SPDX-FileCopyrightText: 2021-present The Firebird Projects <www.firebirdsql.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
__version__ = "0.19.2"
|
__version__ = "0.19.3"
|
||||||
|
@ -602,7 +602,7 @@ def pytest_assertrepr_compare(config: Config, op: str, left: object, right: obje
|
|||||||
# is right side, e.g: assert act.clean_stdout == act.clean_expected_stdout
|
# is right side, e.g: assert act.clean_stdout == act.clean_expected_stdout
|
||||||
# This requirement is CRUCIAL if we use ndiff() instead of default pytest comparison method!
|
# This requirement is CRUCIAL if we use ndiff() instead of default pytest comparison method!
|
||||||
#
|
#
|
||||||
return ndiff(right_lines, left_lines)
|
return list(ndiff(right_lines, left_lines))
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user