diff --git a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElements.py b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElements.py index 83b756143144..330dc4aa32c7 100644 --- a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElements.py +++ b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElements.py @@ -1,3 +1,3 @@ from typing import Callable -e: Callable[int, str] \ No newline at end of file +e: Callable[int, str] \ No newline at end of file diff --git a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsParenthesizedAsFirst.py b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsParenthesizedAsFirst.py index 1dd339b654cb..6bd6ef798541 100644 --- a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsParenthesizedAsFirst.py +++ b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsParenthesizedAsFirst.py @@ -1,3 +1,3 @@ from typing import Callable -g: Callable[(int), str] \ No newline at end of file +g: Callable[(int), str] \ No newline at end of file diff --git a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsTupleAsFirst.py b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsTupleAsFirst.py index a679ce2888b1..9acaeff01a93 100644 --- a/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsTupleAsFirst.py +++ b/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElementsTupleAsFirst.py @@ -1,3 +1,3 @@ from typing import Callable -g: Callable[(int, str), str] \ No newline at end of file +g: Callable[(int, str), str] \ No newline at end of file diff --git a/python/testSrc/com/jetbrains/python/inspections/PyTypeHintsInspectionTest.java b/python/testSrc/com/jetbrains/python/inspections/PyTypeHintsInspectionTest.java index 69120df97d91..2aff71ee9e66 100644 --- a/python/testSrc/com/jetbrains/python/inspections/PyTypeHintsInspectionTest.java +++ b/python/testSrc/com/jetbrains/python/inspections/PyTypeHintsInspectionTest.java @@ -721,11 +721,11 @@ public class PyTypeHintsInspectionTest extends PyInspectionTestCase { "c: Callable[[int, str], str]\n" + "\n" + "d: Callable[...]\n" + - "e: Callable[int, str]\n" + + "e: Callable[int, str]\n" + "f: Callable[int, str, str]\n" + - "g: Callable[(int, str), str]\n" + + "g: Callable[(int, str), str]\n" + "h: Callable[int]\n" + - "h: Callable[(int), str]\n" + + "h: Callable[(int), str]\n" + "\n" + "A1: TypeAlias = Callable[int]\n" + "A2: TypeAlias = 'Callable[int]'\n" +