devtools/test/unittest_qunit.py
branchstable
changeset 6340 470d8e828fda
parent 5742 74c19dac29cf
child 8930 6a02be304486
--- a/devtools/test/unittest_qunit.py	Fri Sep 24 18:20:57 2010 +0200
+++ b/devtools/test/unittest_qunit.py	Fri Sep 24 18:20:59 2010 +0200
@@ -20,7 +20,7 @@
 
     def test_simple_failure(self):
         js_tests = list(self._test_qunit(js('test_simple_failure.js')))
-        self.assertEquals(len(js_tests), 3)
+        self.assertEqual(len(js_tests), 3)
         test_1, test_2, test_3 = js_tests
         self.assertRaises(self.failureException, test_1[0], *test_1[1:])
         self.assertRaises(self.failureException, test_2[0], *test_2[1:])