mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
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:
committed by
intellij-monorepo-bot
parent
411f2af7ba
commit
d29d55476e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user