Skip to content

Commit 1bb065a

Browse files
Conformance tests: Fix generics_defaults scoring for pyright (#1700)
Pyright produces an error unrelated to the purpose of the test, and I don't see a good way to write the test to avoid the error. Part of #1692
1 parent 284dc36 commit 1bb065a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conformance/results/pyright/generics_defaults.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ generics_defaults.py:111:40 - error: TypeVar default type must be one of the con
77
generics_defaults.py:138:7 - error: TypeVar "T5" has a default value and cannot follow TypeVarTuple "Ts" (reportGeneralTypeIssues)
88
generics_defaults.py:167:18 - error: Access to generic instance variable through class is ambiguous (reportGeneralTypeIssues)
99
"""
10-
conformance_automated = "Fail"
10+
conformance_automated = "Pass"
1111
errors_diff = """
12-
Line 167: Unexpected errors ['generics_defaults.py:167:18 - error: Access to generic instance variable through class is ambiguous (reportGeneralTypeIssues)']
1312
"""
13+
ignore_errors = ["Access to generic instance variable through class is ambiguous"]

0 commit comments

Comments
 (0)