PY-28629 Test cleanup

This commit is contained in:
Andrey Vlasovskikh
2018-02-26 18:10:18 +03:00
parent a8b8f04ff7
commit 2a9839e7e0
@@ -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);
}
}