diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_find_top_level.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_find_top_level.py b/tests/test_find_top_level.py index c4df873..47b3f1e 100644 --- a/tests/test_find_top_level.py +++ b/tests/test_find_top_level.py @@ -62,7 +62,7 @@ def test_unreadable_manifest(tmp_path): """Test failure when one of Manifest files is not readable""" with open(tmp_path / 'Manifest', 'w') as f: os.fchmod(f.fileno(), 0) - with pytest.raises(IOError): + with pytest.raises(PermissionError): find_top_level_manifest(tmp_path) |