Skip to content

Commit 2d804a4

Browse files
committed
Remove getPythonCodeFromPyFile
1 parent d14aca8 commit 2d804a4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utbot-intellij-python/src/main/kotlin/org/utbot/intellij/plugin/language/python/PythonDialogProcessor.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,6 @@ fun findSrcModule(functions: Collection<PyFunction>): Module {
287287

288288
fun getContentFromPyFile(file: PyFile) = file.viewProvider.contents.toString()
289289

290-
fun getPyCodeFromPyFile(file: PyFile, pythonModule: String): PythonCode? {
291-
val content = getContentFromPyFile(file)
292-
return getFromString(content, file.virtualFile.path, pythonModule = pythonModule)
293-
}
294-
295290
/*
296291
* Returns set of sys paths and tested file import path
297292
*/

0 commit comments

Comments
 (0)