diff options
Diffstat (limited to 'tests/helpers/fixtures.py')
-rw-r--r-- | tests/helpers/fixtures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/fixtures.py b/tests/helpers/fixtures.py index cc362290f..c36bc98cb 100644 --- a/tests/helpers/fixtures.py +++ b/tests/helpers/fixtures.py @@ -717,7 +717,7 @@ def state_config(data_tmpdir, monkeypatch): @pytest.fixture def unwritable_tmp_path(tmp_path): tmp_path.chmod(0) - if os.access(str(tmp_path), os.W_OK): + if os.access(tmp_path, os.W_OK): # Docker container or similar pytest.skip("Directory was still writable") |