Skip to content

test_tcsendbreak fails on OpenBSD #154394

Description

@serhiy-storchaka

Bug report

test_termios.test_tcsendbreak fails on OpenBSD:

ERROR: test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak)
  File "Lib/test/test_termios.py", line 121, in test_tcsendbreak
    termios.tcsendbreak(self.fd, 1)
termios.error: (25, 'Inappropriate ioctl for device')

tcsendbreak() is not supported for pseudo-terminals there. The test already skips this error, but only on FreeBSD, NetBSD and Cygwin:

        with skip_enotty_error(self, 'tcsendbreak',
                               ('freebsd', 'netbsd', 'cygwin')):

This is the same failure as gh-124030 on NetBSD; Cygwin was added to the same skip in gh-149879.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixesOS-unsupportedtestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions