tests: include check for upgrade notice too

This commit is contained in:
Henry Schreiner
2022-10-26 09:47:17 -04:00
committed by GitHub
parent f259bfd4d6
commit db1208430e
+3 -1
View File
@@ -33,7 +33,9 @@ def test(tmp_path, build_frontend_env, capfd):
# Verify pip warning not shown
captured = capfd.readouterr()
assert "WARNING: Running pip as the 'root' user can result" not in captured.err
for stream in (captured.err, captured.out):
assert "WARNING: Running pip as the 'root' user can result" not in stream
assert "A new release of pip available" not in stream
@pytest.mark.skip(reason="to keep test output clean")