assertEquals is deprecated
This commit is contained in:
parent
0fbe22655b
commit
ec78522424
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue