Skip to content

UTBot Python fix bugs #2581

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

Merged
merged 12 commits into from
Sep 7, 2023
Merged

UTBot Python fix bugs #2581

merged 12 commits into from
Sep 7, 2023

Conversation

tamarinvs19
Copy link
Collaborator

Description

  • Fixed problem with incomparable objects serialisation and code generation (e.g. complex(float('nan')) != complex(float('nan')), but code was generated as if it is comparable)
  • Fixed problem with code generation of state assertions (unused variables, incorrect values in comparisons of collections)

How to test

Manual tests

Generate test for python example test cases.

Self-check list

Check off the item if the statement is true. Hint: [x] is a marked item.

Please do not delete the list or its items.

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@tamarinvs19 tamarinvs19 added comp-codegen Issue is related to code generator lang-python Issue is related to python support ctg-bug-fix PR is fixing a bug labels Sep 6, 2023
@tamarinvs19 tamarinvs19 self-assigned this Sep 6, 2023
@tamarinvs19 tamarinvs19 marked this pull request as ready for review September 7, 2023 11:07
@tamarinvs19 tamarinvs19 merged commit 9c122a9 into main Sep 7, 2023
@tamarinvs19 tamarinvs19 deleted the tamarinvs19/python-bug-fix branch September 7, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-bug-fix PR is fixing a bug lang-python Issue is related to python support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants