mirror of https://github.com/python/cpython.git
assertEquals is deprecated
This commit is contained in:
parent
0fbe22655b
commit
ec78522424
|
@ -169,7 +169,7 @@ def test_daemon_argument(self):
|
|||
|
||||
# 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