Commit Graph

15 Commits

Author SHA1 Message Date
A. Jesse Jiryu Davis
f1f7b14bf6 Allow MongoClients to be GC'ed after test runs.
Work around http://bugs.python.org/issue11798 to reduce max connection count during tests.
2013-08-27 09:00:50 -04:00
Ross Lawley
29b9de45db Added __ne__ for DBRefs PYTHON-440 2012-11-22 11:12:36 +00:00
behackett
0ee7170cc2 It's 2012... 2012-04-19 12:40:38 -07:00
behackett
12592be1fe Python 3 unittest changes PYTHON-84. 2012-03-28 11:53:47 -07:00
behackett
2d21ba9376 Replace deprecated unittest assert method aliases.
assert_ -> assertTrue
assertEquals -> assertEqual

This is needed to clean up deprecation warnings
in python >= 3.2
2012-03-16 17:20:21 -07:00
Mike Dirolf
9c182809f3 Create a separate bson package PYTHON-60
Many of the pymongo modules have been moved into the bson
package. Aliases for those modules have been added to the pymongo
package, without deprecation warnings for now. Application developers
should begin to use the bson namespace, as deprecation of moved
modules will probably begin in the next release.
2010-09-14 13:52:50 -04:00
Mike Dirolf
f51d83d154 allow specifying scope variables as keyword arguments 2010-08-23 11:23:12 -04:00
jbergstroem
ec22172030 s/failIf/assertFalse 2010-08-11 03:44:06 +08:00
Mike Dirolf
3d7240e57f It's 2010! 2010-01-30 10:48:26 -05:00
Mike Dirolf
b690b0e350 code supports equality testing and instantiation from existing Code instances 2009-12-18 11:50:53 -05:00
Mike Dirolf
d2a47c5342 minor: more PEP 8 2009-06-05 17:18:09 -04:00
Mike Dirolf
06f1c92637 test that already passes 2009-03-12 11:47:09 -04:00
Mike Dirolf
5eda427cbc use code_w_scope instead of code for eval. change Code class to support scopes 2009-03-12 11:16:03 -04:00
Mike Dirolf
7bbb4a5133 python 2.3 support
mostly not using unittest.assertTrue and assertFalse.
also not using decorator syntax, and some missing built-ins (sorted, etc.)
2009-02-20 14:35:21 -05:00
Mike Dirolf
a64b74533b new code class Code 2009-01-29 10:53:00 -05:00