Use MongoClient instead of Connection and read_preference instead of slave_ok.
- is related to
-
SERVER-18229 Smoke.py with PyMongo 3.0.1 fails to run certain tests
- Closed
- related to
-
PYTHON-913 UserWarning with read preference and command using direct connection
- Closed