Skip to content

Commit 1a0759c

Browse files
szobovatugushev
andauthored
Update tests/test_cli_compile.py
Co-authored-by: Albert Tugushev <albert@tugushev.ru>
1 parent ec88437 commit 1a0759c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_cli_compile.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2603,7 +2603,8 @@ def test_error_in_pyproject_toml(fake_dists, runner, make_module, capfd):
26032603
cli, ["-n", "--no-build-isolation", "-v", "--find-links", fake_dists, meta_path]
26042604
)
26052605
assert out.exit_code == 2, out.stderr
2606-
assert "`project` must contain ['name'] properties" in capfd.readouterr().err
2606+
captured = capfd.readouterr()
2607+
assert "`project` must contain ['name'] properties" in captured.err
26072608

26082609

26092610
@pytest.mark.network

0 commit comments

Comments
 (0)