-
Notifications
You must be signed in to change notification settings - Fork 104
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
OrderedDict replaced by custom dict subclass for the sake of py26 #87
Conversation
Let's see what travis says. :) It is a pity that we can't use OrderedDict, should we think about making an compat.py for these kinds of things? Or for this case, it isn't even necessary? |
We don't need OrderedDict in txmongo, it was used only for testing if Travis complaints, but not on OrderedDict anymore, so this PR might be accepted |
Ouch, I've noticed in Travis that test_Cursor* tests are failing when parsing response of |
According to this: travis-ci/travis-ci#2246 I'll whip something up. |
MongoDB version Right, then I'll disable travis's mongodb and install 3.0 since that is what we are targetting. It will be nice to test 2.6, but I want the forward momentum. What do you think? |
I would go with 3.0.3 but it seems that the repo doesn't have it yet: Are we good with 2.6.9 ? |
Sure, but we won't test SCRAM-SHA-1 on 2.6.x. But with 3.0 we won't test MONGODB-CR :) Btw, I've pushed #89 that fixes |
Can you rebase against master and force push? That should trigger travis again, hopefully we're green. :) |
Awesome, we finally got some greens and coveralls support! :) 74% isn't bad, but we should aim for 80% |
[ERROR] |
Can we replace the self.assertIs with self.assertTrue ? |
Yep, please see b142fa1 that i've pushed just now |
beautiful, we're almost there :) |
Thanks for the infrastructure support you've implemented! It would help a lot to keep code testable and bulletproof |
OrderedDict replaced by custom dict subclass for the sake of py26
Python 2.6 doesn't have OrderedDict, so I replaced it with custom one-line
dict
subclass for testingas_class
parameter offind()