(self)
| 136 | @unittest.skip("TODO: RUSTPYTHON segfault") |
| 137 | @support.skip_android_selinux('tcdrain') |
| 138 | def test_tcdrain_errors(self): |
| 139 | self.assertRaisesTermiosError(errno.ENOTTY, termios.tcdrain, self.bad_fd) |
| 140 | self.assertRaises(ValueError, termios.tcdrain, -1) |
| 141 | self.assertRaises(OverflowError, termios.tcdrain, 2**1000) |
| 142 | self.assertRaises(TypeError, termios.tcdrain, object()) |
| 143 | self.assertRaises(TypeError, termios.tcdrain) |
| 144 | |
| 145 | def test_tcflush(self): |
| 146 | termios.tcflush(self.fd, termios.TCIFLUSH) |
nothing calls this directly
no test coverage detected