We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba153e commit e4e6ab0Copy full SHA for e4e6ab0
tests/test_store/test_local.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import pathlib
4
+import re
5
6
import numpy as np
7
import pytest
@@ -104,5 +105,7 @@ async def test_move(
104
105
assert np.array_equal(array[...], data)
106
107
store2 = await LocalStore.open(root=origin)
- with pytest.raises(FileExistsError, match=f"Destination root {destination} already exists"):
108
+ with pytest.raises(
109
+ FileExistsError, match=re.escape(f"Destination root {destination} already exists")
110
+ ):
111
await store2.move(destination)
0 commit comments