PY-75760 - adjust testTypeVarParameterizedConstraints test

Sacrifice this old test for a good cause. The inferred type of `my_list_t1` is now `List[null]` which matches with pyright - it also has no complaints in the changed fragment

GitOrigin-RevId: 2176ffa69c6a24ec55344f4294e04542185ca7e7
This commit is contained in:
Daniil Kalinin
2024-09-20 16:38:14 +02:00
committed by intellij-monorepo-bot
parent 411f2af7ba
commit d29d55476e

View File

@@ -91,8 +91,8 @@ public class PyTypeHintsInspectionTest extends PyInspectionTestCase {
T11 = TypeVar('T11', my_int, my_str)
my_list_t1 = List[T1]
T22 = TypeVar('T22', int, <warning descr="Constraints cannot be parametrized by type variables">my_list_t1</warning>)
T33 = TypeVar('T33', bound=<warning descr="Constraints cannot be parametrized by type variables">my_list_t1</warning>)
T22 = TypeVar('T22', int, my_list_t1)
T33 = TypeVar('T33', bound=my_list_t1)
my_list_int = List[int]
T44 = TypeVar('T44', int, my_list_int)