Skip to content

Commit 4d95b98

Browse files
authored
Fix builtins.function and functions without arguments (#1897)
1 parent 1b38315 commit 4d95b98

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

utbot-python/src/main/kotlin/org/utbot/python/PythonEngine.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@ class PythonEngine(
242242
)
243243

244244
if (parameters.isEmpty()) {
245-
fuzzingResultHandler(pmd, emptyList())
245+
val result = fuzzingResultHandler(pmd, emptyList())
246+
result?.let {
247+
emit(it.fuzzingExecutionFeedback)
248+
}
246249
manager.disconnect()
247250
} else {
248251
PythonFuzzing(pmd.pythonTypeStorage) { description, arguments ->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mypy==1.0.0
22
coverage
3-
utbot-executor==1.1.26
3+
utbot-executor==1.1.27
44
utbot-mypy-runner==0.2.8

0 commit comments

Comments
 (0)