Koalas: Unable to run tests

Created on 2 May 2019  路  5Comments  路  Source: databricks/koalas

I am getting this error when I try to run all the tests.

$ ./dev/pytest

ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=databricks
  inifile: None
  rootdir: /home/shril/Documents/workspace/koalas

All 5 comments

Check your pytest version

$ pytest --version

It should be 4.4.1

Got this.

$ pytest --version

This is pytest version 4.4.1, imported from /home/shril/anaconda3/envs/koalas-dev-env/lib/python3.6/site-packages/pytest.py

Run this command instead if you want to check doctest

pytest  --verbose --showlocals --doctest-modules databricks

Thanks @garawalid , its working now.

Thanks, @garawalid. Actually, let me make it easier to test. https://github.com/databricks/koalas/pull/224

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tdliu picture tdliu  路  6Comments

ueshin picture ueshin  路  4Comments

ezwiefel picture ezwiefel  路  7Comments

akhilanandbv003 picture akhilanandbv003  路  5Comments

syonekura picture syonekura  路  6Comments