Skip to content
Merged
Prev Previous commit
Next Next commit
Enable test which crashed before.
  • Loading branch information
serhiy-storchaka committed Oct 5, 2023
commit 46c54761a2957a605d5c4e3e115206cc65130a22
4 changes: 2 additions & 2 deletions Lib/test/test_termios.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def test_tcsetattr_errors(self):
for i in range(len(attrs[-1])):
attrs2 = attrs[:]
attrs2[-1] = attrs2[-1][:]
#attrs2[-1][i] = 2**1000
#self.assertRaises(OverflowError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
attrs2[-1][i] = 2**1000
self.assertRaises(OverflowError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
attrs2[-1][i] = object()
self.assertRaises(TypeError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
attrs2[-1][i] = b''
Expand Down