Skip to content

test_tcsendbreak fails on DragonFly BSD #154414

Description

@serhiy-storchaka

Bug report

test_termios.test_tcsendbreak fails on DragonFly BSD, like on OpenBSD in gh-154394:

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 either, so DragonFly BSD should be added to the same skip:

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

It was not noticed in gh-154394 because test_termios hung earlier on DragonFly BSD, before reaching this test.

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 fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions