Skip to content

Commit

Permalink
tests: include check for upgrade notice too
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Oct 26, 2022
1 parent f259bfd commit db12084
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_0_basic.py
Expand Up @@ -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")
Expand Down

0 comments on commit db12084

Please sign in to comment.