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

Unrecognized arguments using pytest with python3.8-dev #5545

Closed
rllola opened this issue Jul 3, 2019 · 1 comment
Closed

Unrecognized arguments using pytest with python3.8-dev #5545

rllola opened this issue Jul 3, 2019 · 1 comment

Comments

@rllola
Copy link

rllola commented Jul 3, 2019

Recently the pytest call using travis CI broke with python 3.8 dev

See : https://travis-ci.org/HelloZeroNet/ZeroNet/jobs/553544808

Log says :

pytest.py: error: unrecognized arguments: -rsxX
  inifile: /home/travis/build/HelloZeroNet/ZeroNet/plugins/CryptMessage/Test/pytest.ini
  rootdir: /home/travis/build/HelloZeroNet/ZeroNet/plugins/CryptMessage/Test

pytest.ini

[pytest]
python_files = Test*.py
addopts = -rsxX -v --durations=6
markers =
    webtest: mark a test as a webtest.

It only breaks with python 3.8

Something seems to have changed but cant really tell what....

@nicoddemus
Copy link
Member

nicoddemus commented Jul 3, 2019

Hi @Bjwebb,

Duplicate of #5523, will be fixed in 5.0.1; meanwhile a workaround is to use -r sxX instead.

(I'm pinning #5523 so it is more visible)

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

No branches or pull requests

2 participants