diff options
Diffstat (limited to 'tests/unit/misc/test_editor.py')
-rw-r--r-- | tests/unit/misc/test_editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_editor.py b/tests/unit/misc/test_editor.py index 91bdce26b..bec775add 100644 --- a/tests/unit/misc/test_editor.py +++ b/tests/unit/misc/test_editor.py @@ -128,7 +128,7 @@ class TestFileHandling: filename = pathlib.Path(editor._filename) assert filename.exists() filename.chmod(0o277) - if os.access(str(filename), os.R_OK): + if os.access(filename, os.R_OK): # Docker container or similar pytest.skip("File was still readable") |