diff options
author | Lembrun <amadeusk7@free.fr> | 2021-03-11 19:42:57 +0100 |
---|---|---|
committer | Lembrun <amadeusk7@free.fr> | 2021-03-11 19:42:57 +0100 |
commit | 79ed9036ec114140827fa08ccce1d512411b009c (patch) | |
tree | 6915213dae500c0c504c796b5a46fd1c477a5d63 | |
parent | e84a0817079eb17209db8cc0ad4606ac45c8cb4f (diff) | |
download | qutebrowser-79ed9036ec114140827fa08ccce1d512411b009c.tar.gz qutebrowser-79ed9036ec114140827fa08ccce1d512411b009c.zip |
Removed exist_ok
-rw-r--r-- | tests/unit/mainwindow/test_prompt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/mainwindow/test_prompt.py b/tests/unit/mainwindow/test_prompt.py index 5528a9bb9..668cd0710 100644 --- a/tests/unit/mainwindow/test_prompt.py +++ b/tests/unit/mainwindow/test_prompt.py @@ -58,7 +58,7 @@ class TestFileCompletion: """Simply trying to tab through items.""" testdir = tmp_path / 'test' for directory in 'abc': - (testdir / directory).mkdir(exist_ok=True, parents=True) + (testdir / directory).mkdir(parents=True) prompt = get_prompt(str(testdir) + os.sep) @@ -72,7 +72,7 @@ class TestFileCompletion: testdir = tmp_path / 'test' for directory in ['bar', 'foo']: - (testdir / directory).mkdir(exist_ok=True, parents=True) + (testdir / directory).mkdir(parents=True) prompt = get_prompt(str(testdir / 'foo') + os.sep) |