Skip to content
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

BUG: UnboundLocalError("local variable 'v' referenced before assignme… #3029

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JoaoAssalim
Copy link

Commit to fix the following error:

raised unexpected: UnboundLocalError("local variable 'v' referenced before assignment")

map_dict[chr(i)] = v
UnboundLocalError: local variable 'v' referenced before assignment

Commit to fix the following error:

raised unexpected: UnboundLocalError("local variable 'v' referenced before assignment")

map_dict[chr(i)] = v
UnboundLocalError: local variable 'v' referenced before assignment
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.36%. Comparing base (94c434e) to head (d93dc6a).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3029   +/-   ##
=======================================
  Coverage   96.36%   96.36%           
=======================================
  Files          52       52           
  Lines        8771     8772    +1     
  Branches     1595     1595           
=======================================
+ Hits         8452     8453    +1     
  Misses        191      191           
  Partials      128      128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stefan6419846
Copy link
Collaborator

As already mentioned inside the original PR, please add a corresponding test as well.

@stefan6419846 stefan6419846 added needs-test A test should be added before this PR is merged. needs-pdf The issue needs a PDF file to show the problem labels Jan 11, 2025
@stefan6419846
Copy link
Collaborator

@JoaoAssalim Are you still interested in this PR? I just had a look at the code and have not been able to determine an artificial example for reproducing it. If yes, please add a test or provide a corresponding file for further analysis (if required, by e-mail).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-pdf The issue needs a PDF file to show the problem needs-test A test should be added before this PR is merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants