From 98d35a58ad9df0b94f500f92e999625ddabd44a9 Mon Sep 17 00:00:00 2001 From: Semyon Proshev Date: Thu, 18 Jun 2020 01:03:40 +0300 Subject: [PATCH] Update stdlib type hint case after switching to the latest language level GitOrigin-RevId: f01a863b4628e471597a49d1ebba832220f04168 --- python/testSrc/com/jetbrains/python/Py3TypeTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/testSrc/com/jetbrains/python/Py3TypeTest.java b/python/testSrc/com/jetbrains/python/Py3TypeTest.java index 5a35aa47c2bc..a39b9d0b38e4 100644 --- a/python/testSrc/com/jetbrains/python/Py3TypeTest.java +++ b/python/testSrc/com/jetbrains/python/Py3TypeTest.java @@ -1093,7 +1093,7 @@ public class Py3TypeTest extends PyTestCase { public void testApplyingSuperSubstitutionToGenericClass() { runWithLanguageLevel( LanguageLevel.getLatest(), - () -> doTest("Dict[T, int]", + () -> doTest("dict[T, int]", "from typing import TypeVar, Generic, Dict, List\n" + "\n" + "T = TypeVar('T')\n" + @@ -1114,7 +1114,7 @@ public class Py3TypeTest extends PyTestCase { public void testApplyingSuperSubstitutionToBoundedGenericClass() { runWithLanguageLevel( LanguageLevel.getLatest(), - () -> doTest("Dict[T, int]", + () -> doTest("dict[T, int]", "from typing import TypeVar, Generic, Dict, List\n" + "\n" + "T = TypeVar('T', bound=str)\n" +