Skip to content

Commit

Permalink
Fix problem with ndiff assert
Browse files Browse the repository at this point in the history
  • Loading branch information
pcisar committed Mar 21, 2024
1 parent 28ef5c8 commit c74f923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/firebird/qa/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021-present The Firebird Projects <www.firebirdsql.org>
#
# SPDX-License-Identifier: MIT
__version__ = "0.19.2"
__version__ = "0.19.3"
2 changes: 1 addition & 1 deletion src/firebird/qa/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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

Expand Down

0 comments on commit c74f923

Please sign in to comment.