devtools/testlib.py
changeset 2793 bfb21f7a0d13
parent 2774 a9a2dca5db20
child 2813 0cf6c8005bf6
--- a/devtools/testlib.py	Wed Aug 12 19:09:32 2009 +0200
+++ b/devtools/testlib.py	Thu Aug 13 00:35:05 2009 +0200
@@ -625,7 +625,7 @@
 
     # deprecated ###############################################################
 
-    @deprecated('use self.vreg["etypes"].etype_class(etype)(self.request())')
+    @deprecated('[3.4] use self.vreg["etypes"].etype_class(etype)(self.request())')
     def etype_instance(self, etype, req=None):
         req = req or self.request()
         e = self.vreg['etypes'].etype_class(etype)(req)
@@ -633,7 +633,7 @@
         return e
 
     @nocoverage
-    @deprecated('use req = self.request(); rset = req.execute()')
+    @deprecated('[3.4] use req = self.request(); rset = req.execute()')
     def rset_and_req(self, rql, optional_args=None, args=None, eidkey=None):
         """executes <rql>, builds a resultset, and returns a
         couple (rset, req) where req is a FakeRequest