-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
status: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
Hi!
Our PR updating us from pytest 3.2.5 to 3.3.0 (mozilla/treeherder#2993) is failing, with:
...
INTERNALERROR> File "/home/travis/venv/lib/python2.7/site-packages/_pytest/warnings.py", line 94, in pytest_runtest_protocol
INTERNALERROR> yield
INTERNALERROR> File "/opt/python/2.7.14/lib/python2.7/contextlib.py", line 24, in __exit__
INTERNALERROR> self.gen.next()
INTERNALERROR> File "/home/travis/venv/lib/python2.7/site-packages/_pytest/warnings.py", line 75, in catch_warnings_for_item
INTERNALERROR> new_args = [compat.ascii_escaped(m) for m in warn_msg.args]
INTERNALERROR> File "/home/travis/venv/lib/python2.7/site-packages/_pytest/compat.py", line 187, in ascii_escaped
INTERNALERROR> return val.encode('unicode-escape')
INTERNALERROR> AttributeError: 'long' object has no attribute 'encode'
(Full log: https://travis-ci.org/mozilla/treeherder/jobs/308166122#L706)
This is using:
- Ubuntu 14.04
- Python 2.7.14
- pytest 3.3.0
- pluggy 0.6.0
- pytest-selenium 1.11.2
- pytest-django 3.1.2
- pytest-html 1.16.0
- pytest-metadata 1.5.0
- pytest-variables 1.7.0
- pytest-base-url 1.4.1
Is this a possible regression from #2810?
Metadata
Metadata
Assignees
Labels
status: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously