Skip to content

Commit

Permalink
Conformance tests: Fix generics_defaults scoring for pyright (#1700)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JelleZijlstra authored Apr 9, 2024
1 parent 284dc36 commit 1bb065a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conformance/results/pyright/generics_defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ generics_defaults.py:111:40 - error: TypeVar default type must be one of the con
generics_defaults.py:138:7 - error: TypeVar "T5" has a default value and cannot follow TypeVarTuple "Ts" (reportGeneralTypeIssues)
generics_defaults.py:167:18 - error: Access to generic instance variable through class is ambiguous (reportGeneralTypeIssues)
"""
conformance_automated = "Fail"
conformance_automated = "Pass"
errors_diff = """
Line 167: Unexpected errors ['generics_defaults.py:167:18 - error: Access to generic instance variable through class is ambiguous (reportGeneralTypeIssues)']
"""
ignore_errors = ["Access to generic instance variable through class is ambiguous"]

0 comments on commit 1bb065a

Please sign in to comment.