Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed skips to expectedFailures in test_tty.py
  • Loading branch information
terryluan12 committed Jan 5, 2026
commit 59c7ab3f553c7148b14a00068e9c82c99e65c34c
4 changes: 2 additions & 2 deletions Lib/test/test_tty.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_cfmakecbreak(self):
self.assertEqual(mode[tty.IFLAG] & termios.ICRNL, 0,
msg="ICRNL should not be set by cbreak")

@unittest.skip('TODO: RUSTPYTHON; TypeError: Expected type "int" but "FileIO" found.')
@unittest.expectedFailure # TODO: RUSTPYTHON TypeError: Expected type "int" but "FileIO" found.
def test_setraw(self):
mode0 = termios.tcgetattr(self.fd)
mode1 = tty.setraw(self.fd)
Expand All @@ -76,7 +76,7 @@ def test_setraw(self):
tty.setraw(self.stream)
tty.setraw(fd=self.fd, when=termios.TCSANOW)

@unittest.skip('TODO: RUSTPYTHON; TypeError: Expected type "int" but "FileIO" found.')
@unittest.expectedFailure # TODO: RUSTPYTHON TypeError: Expected type "int" but "FileIO" found.
def test_setcbreak(self):
mode0 = termios.tcgetattr(self.fd)
mode1 = tty.setcbreak(self.fd)
Expand Down
Loading