-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
pytest raises an invalid UnicodeEncodeError in Python 2.7 #1085
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
Comments
Thanks for the report! I will take a look as soon as possible, it is clearly related to the fix done for #1030. |
@sloria and @Themanwithoutaplan, could you please verify if the branch #1092 solves this problem in your test suites? Thanks! You can install it directly into your environment:
|
Confirmed--that branch fixes the problem on my test suite. Thanks for the quick response! |
Not sure how to run tox against this branch, |
@Themanwithoutaplan you can probably just copy the git url @nicoddemus posted into the deps section |
What deps section? I don't see one in the PR. |
@Themanwithoutaplan the deps section in your project's |
@The-Compiler thanks. Tests no longer fail with that. |
The #1030 change in 2.8.1 broke my test suite too. The branch linked here solves the problem. Hoping for a quick 2.8.2 release. |
This looks like it has just crept into pytest 2.8.1.
I have a parametrised test where I'm passing in unicode, decoded from bytes. Pytest fails to even collect the test. This didn't used to happen (env's with 2.7.2 are running fine) and I'm pretty sure the code is legitimate across Python 2/3
The text was updated successfully, but these errors were encountered: