MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_tcgetwinsize_errors

Method test_tcgetwinsize_errors

Lib/test/test_termios.py:244–249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242
243 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'termios' has no attribute 'tcgetwinsize'
244 def test_tcgetwinsize_errors(self):
245 self.assertRaisesTermiosError(errno.ENOTTY, termios.tcgetwinsize, self.bad_fd)
246 self.assertRaises(ValueError, termios.tcgetwinsize, -1)
247 self.assertRaises(OverflowError, termios.tcgetwinsize, 2**1000)
248 self.assertRaises(TypeError, termios.tcgetwinsize, object())
249 self.assertRaises(TypeError, termios.tcgetwinsize)
250
251 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'termios' has no attribute 'tcgetwinsize'
252 def test_tcsetwinsize(self):

Callers

nothing calls this directly

Calls 2

assertRaisesMethod · 0.45

Tested by

no test coverage detected