We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f252274 commit f259bfdCopy full SHA for f259bfd
test/test_0_basic.py
@@ -20,7 +20,7 @@
20
)
21
22
23
-def test(tmp_path, build_frontend_env):
+def test(tmp_path, build_frontend_env, capfd):
24
project_dir = tmp_path / "project"
25
basic_project.generate(project_dir)
26
@@ -31,6 +31,10 @@ def test(tmp_path, build_frontend_env):
31
expected_wheels = utils.expected_wheels("spam", "0.1.0")
32
assert set(actual_wheels) == set(expected_wheels)
33
34
+ # Verify pip warning not shown
35
+ captured = capfd.readouterr()
36
+ assert "WARNING: Running pip as the 'root' user can result" not in captured.err
37
+
38
39
@pytest.mark.skip(reason="to keep test output clean")
40
def test_sample_build(tmp_path, capfd):
0 commit comments