@@ -880,7 +880,7 @@ def test_duplicate_key_error(self):
880880    def  test_continue_on_error (self ):
881881        db  =  self .db 
882882        if  not  version .at_least (db .connection , (1 , 9 , 1 )):
883-             raise  SkipTest ()
883+             raise  SkipTest ("continue_on_error requires MongoDB >= 1.9.1" )
884884
885885        db .drop_collection ("test" )
886886        oid  =  db .test .insert ({"one" : 1 })
@@ -966,7 +966,7 @@ def test_update(self):
966966    def  test_multi_update (self ):
967967        db  =  self .db 
968968        if  not  version .at_least (db .connection , (1 , 1 , 3 , - 1 )):
969-             raise  SkipTest ()
969+             raise  SkipTest ("multi-update requires MongoDB >= 1.1.3" )
970970
971971        db .drop_collection ("test" )
972972
@@ -1060,7 +1060,7 @@ def test_safe_remove(self):
10601060
10611061    def  test_last_error_options (self ):
10621062        if  not  version .at_least (self .connection , (1 , 5 , 1 )):
1063-             raise  SkipTest ()
1063+             raise  SkipTest ("getLastError options require MongoDB >= 1.5.1" )
10641064
10651065        # XXX: Fix this if we ever have a replica set unittest env. 
10661066        # mongo >=1.7.6 errors with 'norepl' when w=2+ 
@@ -1406,7 +1406,7 @@ def test_cursor_timeout(self):
14061406
14071407    def  test_distinct (self ):
14081408        if  not  version .at_least (self .db .connection , (1 , 1 )):
1409-             raise  SkipTest ()
1409+             raise  SkipTest ("distinct command requires MongoDB >= 1.1" )
14101410
14111411        self .db .drop_collection ("test" )
14121412
@@ -1486,7 +1486,7 @@ def test_insert_large_document(self):
14861486
14871487    def  test_map_reduce (self ):
14881488        if  not  version .at_least (self .db .connection , (1 , 1 , 1 )):
1489-             raise  SkipTest ()
1489+             raise  SkipTest ("mapReduce command requires MongoDB >= 1.1.1" )
14901490
14911491        db  =  self .db 
14921492        db .drop_collection ("test" )
@@ -1672,7 +1672,7 @@ class ExtendedDict(dict):
16721672
16731673    def  test_find_with_nested (self ):
16741674        if  not  version .at_least (self .db .connection , (2 , 0 , 0 )):
1675-             raise  SkipTest ()
1675+             raise  SkipTest ("nested $and and $or requires MongoDB >= 2.0" )
16761676        c  =  self .db .test 
16771677        c .drop ()
16781678        c .insert ([{'i' : i } for  i  in  range (5 )])  # [0, 1, 2, 3, 4] 
@@ -1740,7 +1740,7 @@ def transform_outgoing(self, son, collection):
17401740
17411741    def  test_uuid_subtype (self ):
17421742        if  not  have_uuid :
1743-             raise  SkipTest ()
1743+             raise  SkipTest ("No uuid module" )
17441744
17451745        coll  =  self .connection .pymongo_test .uuid 
17461746        coll .drop ()
0 commit comments