diff options
author | Lembrun <amadeusk7@free.fr> | 2021-03-11 20:01:20 +0100 |
---|---|---|
committer | Lembrun <amadeusk7@free.fr> | 2021-03-11 20:01:20 +0100 |
commit | 4ea73a83e98bf21a0adb54874b54eb6ee1c734e4 (patch) | |
tree | e1a856f0d9483ffa51f07e82c7d6af7e484219be /tests/unit/config/test_configcommands.py | |
parent | 9446443f907247607e45b93d4411ae8b15152f94 (diff) | |
download | qutebrowser-4ea73a83e98bf21a0adb54874b54eb6ee1c734e4.tar.gz qutebrowser-4ea73a83e98bf21a0adb54874b54eb6ee1c734e4.zip |
Removed exist_ok
Diffstat (limited to 'tests/unit/config/test_configcommands.py')
-rw-r--r-- | tests/unit/config/test_configcommands.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/config/test_configcommands.py b/tests/unit/config/test_configcommands.py index f744f69ff..72af2ad3e 100644 --- a/tests/unit/config/test_configcommands.py +++ b/tests/unit/config/test_configcommands.py @@ -642,7 +642,7 @@ class TestWritePy: def test_expanduser(self, commands, monkeypatch, tmp_path): """Make sure that using a path with ~/... works correctly.""" home = tmp_path / 'home' - home.mkdir(exist_ok=True) + home.mkdir() monkeypatch.setenv('HOME', str(home)) commands.config_write_py('~/config.py') @@ -653,7 +653,7 @@ class TestWritePy: def test_existing_file(self, commands, tmp_path): confpy = tmp_path / 'config.py' - confpy.touch(exist_ok=True) + confpy.touch() with pytest.raises(cmdutils.CommandError) as excinfo: commands.config_write_py(str(confpy)) @@ -663,7 +663,7 @@ class TestWritePy: def test_existing_file_force(self, commands, tmp_path): confpy = tmp_path / 'config.py' - confpy.touch(exist_ok=True) + confpy.touch() commands.config_write_py(str(confpy), force=True) |