Closed anapaulagomes closed 4 years ago
Hello there,
I'm a complete newbie to open source, but I saw the good first issue label and decided to give it a try. So, I've downloaded the reṕository, created a virtual environment and installed pytest.
Then I tried to to reproduce the issue running pytest tests/test_pytest_picked.py
But the test actually run without the deprecation warning:
Certainly I've missed something, could you tell if there is anything missing? Also, if you need more images, just tell me.
Thanks a lot!
Hi @ggarber42,
Welcome to the project. :) Always good to have new people on board!
So, have you tried to install the plugin locally? If not, try running python setup.py develop
and run the tests again. Let me know how it goes.
Hi @anapaulagomes,
Thanks for the reply!!!
So, I've tried python setup.py develop
and even though the output was different than last time, it didn't run the deprecation warning again. Also, I've tried run this command within and without a virtual environment.
I will list my commands below and also paste an image with the output (I've put the git clone, just to show that there was nothing else between the clone and the test command)
$ git clone https://github.com/anapaulagomes/pytest-picked.git
$ code pytest-picked/
$ python3 setup.py develop
$ pytest tests/test_pytest_picked.py
Nevertheless, using the virtualenv the result was the same, and the command list almost the same. The difference was that I've setup the virtualenv in between.
So, I guess I've missed something, probably is config stuff again. Anyway, if it's not clear for you why I can't reproduce, I can put more info.
Thanks again
Actually, the warning was removed in Pytest 6.0.0. We updated it last month. Sorry, @ggarber42, I just saw it: https://docs.pytest.org/en/latest/deprecations.html#terminalreporter-writer
TerminalReporter.writer Removed in version 6.0.
This plugin uses version 6.0.1. I'm going to close this issue since this isn't a problem anymore (also, I've checked the code and we are not calling it directly). Thanks for checking it anyways!
To reproduce it, run
pytest
in this repo: