mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
basic test for 'from ... import to import' intention
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import sys
|
||||
|
||||
for x in sys.argv: print x
|
||||
print sys.version
|
||||
@@ -0,0 +1,4 @@
|
||||
from sys import *
|
||||
|
||||
for x in argv: print x
|
||||
print version
|
||||
@@ -200,6 +200,10 @@ public class PyIntentionTest extends PyTestCase {
|
||||
public void testTransformConditionalExpression() { //PY-3094
|
||||
doTest(PyBundle.message("INTN.transform.into.if.else.statement"));
|
||||
}
|
||||
|
||||
public void testImportFromToImport() {
|
||||
doTest("Convert to 'import sys'");
|
||||
}
|
||||
|
||||
public void testDocStub() {
|
||||
CodeInsightSettings codeInsightSettings = CodeInsightSettings.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user