Skip to content

Python fix bugs #2492

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 7 commits into from
Aug 9, 2023
Merged

Python fix bugs #2492

merged 7 commits into from
Aug 9, 2023

Conversation

tamarinvs19
Copy link
Collaborator

Description

  1. Fixed problem with mypy error (missed import os)
  2. Used toAbsolutePath for all CLI arguments
  3. Updated run_tests.py
  4. Code refactoring

How to test

Manual tests

  1. Run utbot python on unannotated function, check that mypy access right type (for example samples/classes/rename_self.py
  2. Run utbot-cli-python with relative paths (to file under test, to output file, to python, to sys-paths), check that there are no one exception about findMethodByHeader

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 comp-cli Issue related to CLI lang-python Issue is related to python support ctg-bug-fix PR is fixing a bug labels Aug 9, 2023
@tamarinvs19 tamarinvs19 requested a review from tochilinak August 9, 2023 14:47
@tamarinvs19 tamarinvs19 self-assigned this Aug 9, 2023
@tamarinvs19 tamarinvs19 enabled auto-merge (squash) August 9, 2023 15:25
@tamarinvs19 tamarinvs19 merged commit 9ab079f into main Aug 9, 2023
@tamarinvs19 tamarinvs19 deleted the tamarinvs19/python-fix-bugs branch August 9, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-cli Issue related to CLI 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