From 0b4b259407e35b077c2eefec9ca67a5cc92a3b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Mon, 11 Mar 2024 15:46:24 +0200 Subject: [PATCH] Removed failing test code It's not clear why this was here, or if it would ever have worked. --- tests/test_bdist_wheel.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_bdist_wheel.py b/tests/test_bdist_wheel.py index b373177d..fd246bea 100644 --- a/tests/test_bdist_wheel.py +++ b/tests/test_bdist_wheel.py @@ -327,7 +327,7 @@ def test_platform_with_space(dummy_dist, monkeypatch): ) -def test_rmtree_readonly(monkeypatch, tmp_path, capsys): +def test_rmtree_readonly(monkeypatch, tmp_path): """Verify onerr works as expected""" bdist_dir = tmp_path / "with_readonly" @@ -349,10 +349,6 @@ def test_rmtree_readonly(monkeypatch, tmp_path, capsys): assert not bdist_dir.is_dir() - if expected_count: - captured = capsys.readouterr() - assert "file.txt" in captured.out - def test_data_dir_with_tag_build(monkeypatch, tmp_path): """