{"id":942,"hash":"0d05c35ff0f105fdc1246068b60fdb7745dbfa2c56c1de06e981b4e7ab640837","pattern":"py.test: error: unrecognized arguments: --cov=ner_brands --cov-report=term-missing --cov-config","full_message":"when I am trying to run my test through command line\n\npy.test  file_name.py\n\nI got this error:\n\npy.test: error: unrecognized arguments: --cov=ner_brands --cov-report=term-missing --cov-config\n\nHow can I fix this?","ecosystem":"pypi","package_name":"pytest","package_version":null,"solution":"pytest-cov package is required if you want to pass --cov arguments to pytest.  By default it is not passed though. Are you using a modified version of py.test?\n\npip install pytest-cov\n\nwould fix your issue.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26589990/py-test-error-unrecognized-arguments-cov-ner-brands-cov-report-term-missi","votes":150,"created_at":"2026-04-19T04:52:04.238700+00:00","updated_at":"2026-04-19T04:52:04.238700+00:00"}