-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
python2 setup.py test : AttributeError: 'module' object has no attribute 'test_models' #34
Comments
This usually means the module cannot be imported; what does |
|
Hmm I just checked the unittest source code (py2.5): that line really just constructs the module, per path component. So it must be some path problem. Does the same thing happen in the current Btw does this mean you were never able to run the unit tests in recent versions? |
I don't recall being able to run the test suite, unless maybe a long time ago(?). that is correct. However, now I seem to be having some luck.
reveals:
I could also |
Ok, cool! So the new Still, if you get round to finding the real error, let me know. In case it was some nasty hidden bug that's still sitting there, silently. For example, now according to your ouput it looks like it fails on loading |
Closing this, master and develop both work fine now. Technically the issue could still be sleeping somewhere in the code, but as long as it doesn't show up I don't think we should spend time on it. |
When I run
python2 setup.py test
on the latest master git checkout (but I've actually been having this problem for months) I get this error.AttributeError: 'module' object has no attribute 'test_models'
Below is the complete output.
For more info, see also http://groups.google.com/group/gensim/browse_thread/thread/80866ad542a56c38
The text was updated successfully, but these errors were encountered: