mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-28629 Test cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// 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.psi.PsiElement;
|
||||
import com.intellij.testFramework.LightProjectDescriptor;
|
||||
import com.jetbrains.python.fixtures.PyLightProjectDescriptor;
|
||||
import com.jetbrains.python.fixtures.PyMultiFileResolveTestCase;
|
||||
@@ -13,10 +12,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
*/
|
||||
public class PySkeletonResolveTest extends PyMultiFileResolveTestCase {
|
||||
protected static final PyLightProjectDescriptor ourPyDescriptor = new PyLightProjectDescriptor("WithBinaryModules");
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
@@ -25,10 +20,7 @@ public class PySkeletonResolveTest extends PyMultiFileResolveTestCase {
|
||||
}
|
||||
|
||||
//PY-28629
|
||||
public void testOldNumpyRelativeImport(){
|
||||
PsiElement element = doResolve();
|
||||
assertTrue(element instanceof PyFunction);
|
||||
|
||||
|
||||
public void testOldNumpyRelativeImport() {
|
||||
assertInstanceOf(doResolve(), PyFunction.class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user