You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: conformance/results/pycroscope/dataclasses_descriptors.toml
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ Does not preserve type parameters when accessing a non-data descriptor through t
5
5
"""
6
6
conformance_automated = "Fail"
7
7
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]']
10
10
"""
11
11
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]
0 commit comments