NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
811 stars 63 forks source link

pytest seems to use an unsupported argument #4

Closed jordanhubbard closed 2 years ago

jordanhubbard commented 2 years ago

jkh@megamind-> pytest ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: --benchmark-skip inifile: /home/jkh/Src/cuda-python/pytest.ini rootdir: /home/jkh/Src/cuda-python

Python version is 3.9.5

leofang commented 2 years ago

I remember seeing this too. I think this can be fixed by installing pytest-benchmark.

vzhurba01 commented 2 years ago

Fixed with v11.5.0.

Expanded pytest.ini with "required_plugins" to informatively raise error.