From af63a7c8d9ab262965939aabcc203fcc3465ae13 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 8 Apr 2024 21:22:08 -0400 Subject: [PATCH] Conformance tests: Fix generics_defaults scoring for pyright 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 --- conformance/results/pyright/generics_defaults.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conformance/results/pyright/generics_defaults.toml b/conformance/results/pyright/generics_defaults.toml index e5b880193..21ced6ee0 100644 --- a/conformance/results/pyright/generics_defaults.toml +++ b/conformance/results/pyright/generics_defaults.toml @@ -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"]