assertEquals is deprecated

This commit is contained in:
Antoine Pitrou 2011-03-02 00:15:44 +00:00
parent 0fbe22655b
commit ec78522424

View File

@ -169,7 +169,7 @@ class _TestProcess(BaseTestCase):
# By default uses the current process's daemon flag.
proc0 = self.Process(target=self._test)
self.assertEquals(proc0.daemon, self.current_process().daemon)
self.assertEqual(proc0.daemon, self.current_process().daemon)
proc1 = self.Process(target=self._test, daemon=True)
self.assertTrue(proc1.daemon)
proc2 = self.Process(target=self._test, daemon=False)