You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After executing pip install dice, DiCE's tests override my project's test folder.
Steps to reproduce:
Make a project with a tests folder
pip install dice
Make two test files in tests, one that defines some function (e.g., make_example) and another that imports that function: from tests.rough.krs import make_example
Run tests; see Exception: ModuleNotFoundError: No module named 'tests.rough'
It seems the tests are being installed through pip. Can this be fixed?
@johnHostetter, The PR #382 has not been released as yet. Shouldn't this PR fix the issue?
Yes, my apologies. I must have overlooked the pull request. Thank you so much for addressing this issue and for your great work in providing us with this library! I intend to use it in some upcoming research if all goes according to plan (with appropriate citations for this work, of course 😄).
Hello,
After executing pip install dice, DiCE's tests override my project's test folder.
Steps to reproduce:
make_example
) and another that imports that function:from tests.rough.krs import make_example
ModuleNotFoundError: No module named 'tests.rough'
It seems the tests are being installed through pip. Can this be fixed?
DiCE/setup.py
Line 32 in e9e7147
I think
tests*
may need to be changed to simplytests
.Thank you for your time.
The text was updated successfully, but these errors were encountered: