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

#7 Fix TypeError: cannot concatenate 'str' and 'type' objects #8

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

Conversation

purna135
Copy link
Contributor

Reference Issues/PRs

Fixes Failed unittest for compiledcode\dwarf3.py #7

What does this implement/fix? Explain your changes.

In compiledcode\dwarf3.py, a unittest failed with the following error message:

for error in errors:
>           yield 'ERROR: ' + error
E           TypeError: cannot concatenate 'str' and 'type' objects

src\compiledcode\dwarf3.py:107: TypeError

There was a typo in the code, as shown below.

except Exception as lde:
        msg = str(lde)
        errors.append(str)

which ought to be

except Exception as lde:
        msg = str(lde)
        errors.append(msg)

Signed-off-by: Purna Chandra Mansingh <purnachandramansingh135@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed unittest for compiledcode\dwarf3.py
1 participant