-
Notifications
You must be signed in to change notification settings - Fork 45
Update python unit test generation #1763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
At the moment it throws an exception for a method that isn't declared with class: def test(self, x):
if (x < 0):
return -1
return x*x
print(test(2)) When trying to generate for method
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, update branch to make it compilable with changes in JS module
… into tamarinvs19/utbot-python-stable
utbot-python-parser/build.gradle
Outdated
repositories { | ||
mavenCentral() | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we can drop lines before this to unify build.gradle
with other project's modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Description
It is a new version of Python UTBot.
Updates:
python3parser
(it was the biggest dependency)How to test
Manual tests
We have some examples in
/utbot-python/samples
directory.Self-check list