Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails #225

Closed
GuillaumeDesforges opened this issue Dec 1, 2019 · 1 comment
Closed

Test fails #225

GuillaumeDesforges opened this issue Dec 1, 2019 · 1 comment
Labels

Comments

@GuillaumeDesforges
Copy link

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.

@janmotl
Copy link
Collaborator

janmotl commented Dec 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants