Skip to content
Merged
Show file tree
Hide file tree
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
Fix using nonexisting helpers.
  • Loading branch information
serhiy-storchaka committed Apr 28, 2025
commit 8cef3ad8f206875ffcc9fbe8a854ff1c7d1ad3b5
3 changes: 1 addition & 2 deletions Lib/test/test_ioctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ def test_ioctl_clear_input_or_output(self):
os.write(wfd, b'ABCDEF')
self.assertEqual(os.read(rfd, 1024), b'ABCDEF')

@support.skip_android_selinux('tcflow')
@unittest.skipUnless(sys.platform in ('linux', 'android'), 'only works on Linux')
@unittest.skipUnless(sys.platform == 'linux', 'only works on Linux')
@unittest.skipUnless(hasattr(termios, 'TCXONC'), 'requires termios.TCXONC')
def test_ioctl_suspend_and_resume_output(self):
wfd = self.slave_fd
Expand Down
3 changes: 1 addition & 2 deletions Lib/test/test_termios.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ def test_tcflow_errors(self):
self.assertRaises(TypeError, termios.tcflow, object(), termios.TCOON)
self.assertRaises(TypeError, termios.tcflow, self.fd)

@support.skip_android_selinux('tcflow')
@unittest.skipUnless(sys.platform in ('linux', 'android'), 'only works on Linux')
@unittest.skipUnless(sys.platform == 'linux', 'only works on Linux')
def test_tcflow_suspend_and_resume_output(self):
wfd = self.fd
rfd = self.master_fd
Expand Down