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

specify test paths #2932

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

helpmefindaname
Copy link
Collaborator

fixes the testing issues on the current master.
To answer #2897 (comment) :
All the senteval datasets download and unpack a zip file. This zip file contains a very old python 2.7 file which doesn't comply with the isort-flake8-mypy and python3 standards.
As the cache folder is set into the model repo and the tests collect for any file in the repo, hence also that old one.

This PR specifies for pytest where to search for tests, therefore randomly existing files won't be added anymore.

@alanakbik
Copy link
Collaborator

@helpmefindaname thanks for fixing this!

@alanakbik alanakbik merged commit aa02721 into flairNLP:master Sep 3, 2022
@helpmefindaname helpmefindaname deleted the bf/specify_test_folders branch September 4, 2022 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants