Skip to content

Commit 7afe58c

Browse files
committed
Fixed assertion in failing test.
1 parent a5009e0 commit 7afe58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_version_part.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def test_parse_doesnt_parse_current_version(tmp_path: Path, caplog: LogCaptureFi
297297
with inside_dir(tmp_path):
298298
get_config_data(overrides)
299299

300-
assert caplog.messages == ["Evaluating 'parse' option: 'xxx' does not parse current version '12'"]
300+
assert "Evaluating 'parse' option: 'xxx' does not parse current version '12'" in caplog.messages
301301

302302

303303
def test_part_does_not_revert_to_zero_if_optional(tmp_path: Path) -> None:

0 commit comments

Comments
 (0)