Skip to content

Commit 4c6b2f9

Browse files
committed
Fix Windows path separators in pycroscope TOML results
The TOML was generated on Windows so pycroscope output paths used backslashes (.\) instead of the forward slashes (./) that Linux CI produces. Replace all .\ with ./ so the 'assert conformance results are up to date' step passes on Ubuntu runners.
1 parent d49e4a1 commit 4c6b2f9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

conformance/results/pycroscope/dataclasses_descriptors.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Does not preserve type parameters when accessing a non-data descriptor through t
55
"""
66
conformance_automated = "Fail"
77
errors_diff = """
8-
Line 76: Unexpected errors ['.\\\\dataclasses_descriptors.py:76:12: list[Any[generic_argument]] is not equivalent to list[str]']
9-
Line 85: Unexpected errors ['.\\\\dataclasses_descriptors.py:85:12: Any[generic_argument] is not equivalent to .\\\\dataclasses_descriptors.py.Desc2[str]']
8+
Line 76: Unexpected errors ['./dataclasses_descriptors.py:76:12: list[Any[generic_argument]] is not equivalent to list[str]']
9+
Line 85: Unexpected errors ['./dataclasses_descriptors.py:85:12: Any[generic_argument] is not equivalent to ./dataclasses_descriptors.py.Desc2[str]']
1010
"""
1111
output = """
12-
.\\dataclasses_descriptors.py:74:12: Any[error] is not equivalent to .\\dataclasses_descriptors.py.Desc2[int]
13-
.\\dataclasses_descriptors.py:74:12: <class 'DC2'> has no attribute 'x' [undefined_attribute]
14-
.\\dataclasses_descriptors.py:75:12: Any[error] is not equivalent to .\\dataclasses_descriptors.py.Desc2[str]
15-
.\\dataclasses_descriptors.py:75:12: <class 'DC2'> has no attribute 'y' [undefined_attribute]
16-
.\\dataclasses_descriptors.py:76:12: list[Any[generic_argument]] is not equivalent to list[str]
17-
.\\dataclasses_descriptors.py:85:12: Any[generic_argument] is not equivalent to .\\dataclasses_descriptors.py.Desc2[str]
12+
./dataclasses_descriptors.py:74:12: Any[error] is not equivalent to ./dataclasses_descriptors.py.Desc2[int]
13+
./dataclasses_descriptors.py:74:12: <class 'DC2'> has no attribute 'x' [undefined_attribute]
14+
./dataclasses_descriptors.py:75:12: Any[error] is not equivalent to ./dataclasses_descriptors.py.Desc2[str]
15+
./dataclasses_descriptors.py:75:12: <class 'DC2'> has no attribute 'y' [undefined_attribute]
16+
./dataclasses_descriptors.py:76:12: list[Any[generic_argument]] is not equivalent to list[str]
17+
./dataclasses_descriptors.py:85:12: Any[generic_argument] is not equivalent to ./dataclasses_descriptors.py.Desc2[str]
1818
"""

0 commit comments

Comments
 (0)