Skip to content

Commit 2f9dc01

Browse files
committed
Fix test
1 parent 2f93d79 commit 2f9dc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ def test_no_overwrite_open(tmp_path: Path, open_func: Callable, mode: str) -> No
12851285
existing_fpath = add_empty_file(tmp_path)
12861286

12871287
assert existing_fpath.exists()
1288-
with contextlib.suppress(FileExistsError, FileNotFoundError):
1288+
with contextlib.suppress(FileExistsError, FileNotFoundError, ValueError):
12891289
open_func(store=store, mode=mode)
12901290
if mode == "w":
12911291
assert not existing_fpath.exists()

0 commit comments

Comments
 (0)