DeprecationWarning: Please use assertEqual instead.
authorLaurent Peuch <cortex@worlddomination.be>
Tue, 17 Dec 2019 21:20:46 +0100
changeset 12817 91bb2f0fbadd
parent 12816 a119dc0d1cc5
child 12818 3954554f5b48
DeprecationWarning: Please use assertEqual instead.
cubicweb/hooks/test/unittest_synccomputed.py
--- a/cubicweb/hooks/test/unittest_synccomputed.py	Wed Dec 18 06:01:13 2019 +0100
+++ b/cubicweb/hooks/test/unittest_synccomputed.py	Tue Dec 17 21:20:46 2019 +0100
@@ -74,10 +74,10 @@
         self.assertEqual(len(values), 2)
         values = set((rdef.formula, tuple(v))
                      for rdef, v in values.items())
-        self.assertEquals(values,
-                          set((('Any 2014 - D WHERE X birth_year D', tuple(('birth_year',))),
-                               ('Any SUM(SA) GROUPBY X WHERE P works_for X, P salary SA', tuple(('salary',)))))
-                          )
+        self.assertEqual(values,
+                         set((('Any 2014 - D WHERE X birth_year D', tuple(('birth_year',))),
+                              ('Any SUM(SA) GROUPBY X WHERE P works_for X, P salary SA', tuple(('salary',)))))
+                         )
 
 
 class ComputedAttributeTC(CubicWebTC):