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

unittest_brain.HashlibTC.test_hashlib() fails with Python 3.2 #29

Closed
pylint-bot opened this issue Apr 27, 2014 · 3 comments
Closed

unittest_brain.HashlibTC.test_hashlib() fails with Python 3.2 #29

pylint-bot opened this issue Apr 27, 2014 · 3 comments
Labels

Comments

@pylint-bot
Copy link

Originally reported by: Arfrever Frehtes Taifersar Arahesis (BitBucket: arfrever, GitHub: @Arfrever?)


unittest_brain.HashlibTC.test_hashlib() fails with Python 3.2.

======================================================================
ERROR: test_hashlib (unittest_brain.HashlibTC)
Tests that brain extensions for hashlib work.
----------------------------------------------------------------------
...
  File "<string>", line 6
    return u''
             ^
SyntaxError: invalid syntax

I attach patch.


@pylint-bot
Copy link
Author

Original comment by Viktor Hercinger (BitBucket: herczy, GitHub: @herczy?):


This doesn't just fail with the unittest, but also with a simple import hashlib too.

@pylint-bot
Copy link
Author

Original comment by Torsten Marek (BitBucket: tmarek, GitHub: @tmarek?):


Fixed.

@pylint-bot
Copy link
Author

Original comment by Torsten Marek (BitBucket: tmarek, GitHub: @tmarek?):


Return proper string types for hashlib overlay. Fixes #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant