PY-29338 Revert "PY-28629: Fix resolving skeletons for implicit relative imports"

This reverts commit be8aaaaf53.
This commit is contained in:
Andrey Vlasovskikh
2018-04-06 22:09:14 +03:00
parent d888d4ad1e
commit 4f5eefdea2
8 changed files with 2 additions and 37 deletions
@@ -1,26 +0,0 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python;
import com.intellij.testFramework.LightProjectDescriptor;
import com.jetbrains.python.fixtures.PyLightProjectDescriptor;
import com.jetbrains.python.fixtures.PyMultiFileResolveTestCase;
import com.jetbrains.python.psi.PyFunction;
import org.jetbrains.annotations.Nullable;
/**
* @author Yuli Fiterman
*/
public class PySkeletonResolveTest extends PyMultiFileResolveTestCase {
protected static final PyLightProjectDescriptor ourPyDescriptor = new PyLightProjectDescriptor("WithBinaryModules");
@Nullable
@Override
protected LightProjectDescriptor getProjectDescriptor() {
return ourPyDescriptor;
}
//PY-28629
public void testOldNumpyRelativeImport() {
assertInstanceOf(doResolve(), PyFunction.class);
}
}