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

Pytest internal error with last release on travis #3173

Closed
Natim opened this issue Jan 31, 2018 · 3 comments
Closed

Pytest internal error with last release on travis #3173

Natim opened this issue Jan 31, 2018 · 3 comments
Labels
type: bug problem that needs to be addressed type: infrastructure improvement to development/releases/CI structure

Comments

@Natim
Copy link

Natim commented Jan 31, 2018

With py.test 3.4 NoneType has no attribute testcollected.

INTERNALERROR>   File "/home/travis/build/mozilla/PollBot/.tox/py35/lib/python3.5/site-packages/_pytest/terminal.py", line 315, in pytest_runtest_logfinish
INTERNALERROR>     last_item = len(self._progress_nodeids_reported) == self._session.testscollected
INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'testscollected'
@pytestbot pytestbot added the type: infrastructure improvement to development/releases/CI structure label Jan 31, 2018
@Natim
Copy link
Author

Natim commented Jan 31, 2018

Same issue with circle-ci: https://circleci.com/gh/mozilla/PollBot/411

@nicoddemus
Copy link
Member

It seems you are using pytest-sugar correct? If so this is a duplicate of #3170.

@nicoddemus nicoddemus added status: needs information reporter needs to provide more information; can be closed after 2 or more weeks of inactivity and removed type: infrastructure improvement to development/releases/CI structure labels Jan 31, 2018
@pytestbot pytestbot added type: bug problem that needs to be addressed type: infrastructure improvement to development/releases/CI structure and removed status: needs information reporter needs to provide more information; can be closed after 2 or more weeks of inactivity labels Jan 31, 2018
@Natim
Copy link
Author

Natim commented Jan 31, 2018

Yes it is thanks.

Refs Teemu/pytest-sugar#133

@Natim Natim closed this as completed Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

No branches or pull requests

3 participants