Open themrcesi opened 3 years ago
I´m having some problems executing the tests.
After installing the needed dependencies (pip install -r requirements-dev.txt
), I get a strange error and I´m not able to run the tests.
File "B:\Anaconda3\lib\site-packages\hypothesis\internal\conjecture\shrinker.py", line 1447, in <module> @attr.s(slots=True, eq=False) TypeError: attrs() got an unexpected keyword argument 'eq'
@jrieke could you please run the test files for me? Meanwhile I´ll try to solve my problem.
Oh sorry @themrcesi, didn't see this comment. That's strange since I don't use hypothesis actually. Just to be clear: Does this error come up when you do pip install -r requirements-dev.txt
or when you run the tests? And could you send the complete output/error if there's anything else?
No problem @jrieke 😄
It was after installing the dev requirements, when I tried running the tests. Now this error is solved, it seemed to be something related to some package´s version. However, I´m not able to run the tests since I obtain an error. This error must be my fault, because I´ve tried running the tests just from the forked version and I also obtain the same errors. The error is about Windows permission to access some files, a bit strange.
Everything is working fine but I´m not able to run the tests (btw they should pass). So I will try to fix that to be able to run the tests. If you have time and you can run the tests for me I´d appreciate it.
Once we can confirm that tests pass, this PR is ready to be merged.
Summary
This PR consists of a text classification template using scikit-learn as stated in #4.
Details
data/
folder (in spanish)test.py
file added in order to check the functionality of the template code itself (needs to be removed before merging)Checklist
test-inputs.yml
, which specifies a few input values to test the code template (the test is then automatically run by pytest)