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
Fixed test_tty
  • Loading branch information
terryluan12 committed Jan 3, 2026
commit 66d4d697aa05c02948fd5245151103cd71070072
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.skip('TODO: RUSTPYTHON; TypeError: Expected type "int" but "FileIO" found.')
Comment thread
terryluan12 marked this conversation as resolved.
Outdated
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.skip('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