Skip to content

Commit 46c5476

Browse files
Enable test which crashed before.
1 parent 80f1310 commit 46c5476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_termios.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def test_tcsetattr_errors(self):
7474
for i in range(len(attrs[-1])):
7575
attrs2 = attrs[:]
7676
attrs2[-1] = attrs2[-1][:]
77-
#attrs2[-1][i] = 2**1000
78-
#self.assertRaises(OverflowError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
77+
attrs2[-1][i] = 2**1000
78+
self.assertRaises(OverflowError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
7979
attrs2[-1][i] = object()
8080
self.assertRaises(TypeError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs2)
8181
attrs2[-1][i] = b''

0 commit comments

Comments
 (0)