Skip to content

Commit 309f09a

Browse files
committed
windows path bug?
1 parent 6ada18b commit 309f09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/serializers/test_model_root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class RootModel:
202202

203203
if os.name == 'nt':
204204
path_value = Path('C:\\a\\b')
205-
path_bytes = b'"C:\\a\\b"'
205+
path_bytes = b'"C:\\\\a\\\\b"' # fixme double escaping?
206206
else:
207207
path_value = Path('/a/b')
208208
path_bytes = b'"/a/b"'

0 commit comments

Comments
 (0)