-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
"AttributeError: 'long' object has no attribute 'encode'" after updating to 3.3.0 #2956
Labels
status: critical
grave problem or usability issue that affects lots of users
type: regression
indicates a problem that was introduced in a release which was working previously
Comments
Thanks @edmorley for writing! Hmm that's strange, it seems one of the arguments of the warning objects is a |
nicoddemus
added
status: critical
grave problem or usability issue that affects lots of users
type: regression
indicates a problem that was introduced in a release which was working previously
labels
Nov 28, 2017
Here's a reproducer: import warnings
import pytest
@pytest.mark.filterwarnings('always')
def test():
warnings.warn(UserWarning(1, u'foo')) |
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Nov 28, 2017
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Nov 28, 2017
Opened #2958 with a fix. 👍 |
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Nov 28, 2017
Many thanks for looking into this! It's a bit late now, but in case you were curious, the warnings that must be triggering this are these: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: critical
grave problem or usability issue that affects lots of users
type: regression
indicates a problem that was introduced in a release which was working previously
Hi!
Our PR updating us from pytest 3.2.5 to 3.3.0 (mozilla/treeherder#2993) is failing, with:
(Full log: https://travis-ci.org/mozilla/treeherder/jobs/308166122#L706)
This is using:
Is this a possible regression from #2810?
The text was updated successfully, but these errors were encountered: