From fe6a2c234d3213edc55cce641614a552707d12b0 Mon Sep 17 00:00:00 2001 From: Mikhail Golubev Date: Wed, 29 Nov 2017 16:11:33 +0300 Subject: [PATCH] No need to copy "typing" explicitly in the test project directory as advised in IDEA-CR-27390 --- .../python/inspections/Py3TypeCheckerInspectionTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/testSrc/com/jetbrains/python/inspections/Py3TypeCheckerInspectionTest.java b/python/testSrc/com/jetbrains/python/inspections/Py3TypeCheckerInspectionTest.java index ec589b6a8587..74c957081977 100644 --- a/python/testSrc/com/jetbrains/python/inspections/Py3TypeCheckerInspectionTest.java +++ b/python/testSrc/com/jetbrains/python/inspections/Py3TypeCheckerInspectionTest.java @@ -275,9 +275,6 @@ public class Py3TypeCheckerInspectionTest extends PyInspectionTestCase { } public void testChainedComparisonsGenericMatching() { - runWithLanguageLevel(LanguageLevel.PYTHON36, () -> { - myFixture.copyDirectoryToProject("typing/typing.py", TEST_DIRECTORY); - doTest(); - }); + runWithLanguageLevel(LanguageLevel.PYTHON36, this::doTest); } }