category_encoders icon indicating copy to clipboard operation
category_encoders copied to clipboard

Test fails

Open GuillaumeDesforges opened this issue 6 years ago • 1 comments

I am packaging this Python package on nixpkgs.

When running test, I ran into:

error: [Errno 2] File b'source_data/mushrooms/agaricus-lepiota.csv' does not exist: b'source_data/mushrooms/agaricus-lepiota.csv'

I think that the path given to open (or similar) is not an absolute path to the test file.

GuillaumeDesforges avatar Dec 01 '19 15:12 GuillaumeDesforges

Thank you. I got the same error when I executed the examples in examples directory. And we will have to fix it.

Nevertheless, the issue affects only the examples. The tests (present only in category_encoders\tests) should work fine.

janmotl avatar Dec 01 '19 18:12 janmotl