mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#9424: Replace deprecated assert* methods in the Python test suite.
This commit is contained in:
parent
b8bc439b20
commit
b3aedd4862
170 changed files with 2388 additions and 2392 deletions
|
@ -50,7 +50,7 @@ class IoctlTests(unittest.TestCase):
|
|||
with open("/dev/tty", "r") as tty:
|
||||
r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1)
|
||||
rpgrp = buf[0]
|
||||
self.assertEquals(r, 0)
|
||||
self.assertEqual(r, 0)
|
||||
self.assertIn(rpgrp, ids)
|
||||
|
||||
def test_ioctl_mutate(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue