devtools/testlib.py
changeset 4367 fa02f7dccfe4
parent 4346 02f12f39bae5
child 4513 8abf464d2ffe
--- a/devtools/testlib.py	Tue Jan 26 13:36:55 2010 +0100
+++ b/devtools/testlib.py	Tue Jan 26 13:38:02 2010 +0100
@@ -678,7 +678,8 @@
         return e
 
     @nocoverage
-    @deprecated('[3.4] use req = self.request(); rset = req.execute()')
+    @deprecated('[3.4] use req = self.request(); rset = req.execute()',
+                stacklevel=3)
     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