Skip to content

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