test/unittest_rset.py
changeset 10600 180aa08cad48
parent 10187 0df931eb08de
child 10602 4845012cfc8e
--- a/test/unittest_rset.py	Tue Sep 15 16:30:25 2015 +0200
+++ b/test/unittest_rset.py	Wed Sep 16 11:32:09 2015 +0200
@@ -274,7 +274,7 @@
         """make sure syntax tree is cached"""
         rqlst1 = self.rset.syntax_tree()
         rqlst2 = self.rset.syntax_tree()
-        self.assert_(rqlst1 is rqlst2)
+        self.assertIs(rqlst1, rqlst2)
 
     def test_get_entity_simple(self):
         with self.admin_access.web_request() as req: