pytest: error: unrecognized arguments: --count=20
- User
pytest: error: unrecognized arguments: --count=20
- Assistant
This error occurs because pytest does not recognize the argument "--count=20". Pytest does not have a built-in option named "--count".
If you want to repeat the tests a certain number of times, you may want to use the pytest-repeat plugin. You can install it using pip:
codepip install pytest-repeatAfter installation, you can use the
--countoption, like so:codepytest --count=20This will repeat each test 20 times.
If you're still facing the same issue, please make sure that pytest-repeat is installed correctly and pytest is able to find and use it.
If you're not trying to repeat the tests and the --count argument is used for something else, you might be using a wrong argument or not using a required plugin. In that case, could you please provide more details so I can assist you better?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.