-
Notifications
You must be signed in to change notification settings - Fork 3
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
BUG: tests in test_formats/test_seq/test_generic.py failed #218
Comments
Hi @rhine3 thank you for catching this. Could you say a little more about how you installed Or did you install the development code directly into the environment, e.g. with If you installed of a package manager, then I think what might be going on is that you have a previous release, that does not include changes I made on the main branch. Could you please try setting up a development environment as described here and then try running the tests with I'm not sure what else could cause it besides installing from a package manager. I can see the CI is passing on main and I do not get this error when I run tests locally.
Thank you, this is a good idea, I will add it to the issue template |
Hi @NickleDave! Long story short, you're right that I hadn't tried installing the development environment. I was just testing (I can't remember if the environment I was working with had Once I actually got the development environment installed, all tests succeeded, except the command I had to run to activate the environment was I did get one warning when running the tests:
|
Fixed the snippet that shows how to print |
Made strings for regex raw to fix DeprecationWarning, in aca85f1 |
@all-contributors please add @rhine3 for doc and bug |
I've put up a pull request to add @rhine3! 🎉 |
Closing this |
@all-contributors please also add @rhine3 for userTesting ideas |
I've put up a pull request to add @rhine3! 🎉 |
Before submitting a bug, please make sure the issue hasn't been already addressed by searching through the past issues
Describe the bug
While running tests with Pytest I found that 6 of the tests in
test_formats/test_seq/test_generic.py
failed on my machine. The short test summary info is below; longer test summaries are copied at the end of this issue.To Reproduce
I cloned the GitHub repository on my local machine. I installed
crowsetta
in a Python 3.10.9 Anaconda environment and also conda installedpytest
. I navigated to thetests
directory and ran the commandpytest *
.Expected behavior
I expected the tests to pass! :)
Screenshots
Errors are reproduced in text below instead
Desktop (please complete the following information):
vak.__version__
- Mycrowsetta
version is '4.0.0.post2'; by the way, you may want to update the sample issue text here to say "You can determine this in Python by importingcrowsetta
and runningcrowsetta.__version__
"Additional context
I created this issue while performing the PyOpenSci review of this package. Full text of tests is reproduced below.
The text was updated successfully, but these errors were encountered: