Closed
Description
Bug report
Bug description:
$ ./python -m test test_termios -m test_tcsendbreak -v
== CPython 3.14.0a0 (heads/main:3bd942f106a, Sep 13 2024, 03:20:13) [GCC 10.5.0]
== NetBSD-10.0-amd64-x86_64-64bit-ELF little-endian
== Python build: debug
== cwd: /home/blue/cpython/build/test_python_worker_6492æ
== CPU count: 6
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests
Using random seed: 3084653998
0:00:00 load avg: 3.05 Run 1 test sequentially in a single process
0:00:00 load avg: 3.05 [1/1] test_termios
test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak) ... ERROR
======================================================================
ERROR: test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/blue/cpython/Lib/test/test_termios.py", line 95, in test_tcsendbreak
termios.tcsendbreak(self.fd, 1)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
termios.error: (25, 'Inappropriate ioctl for device')
----------------------------------------------------------------------
Ran 1 test in 0.008s
FAILED (errors=1)
test test_termios failed
test_termios failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_termios
Total duration: 154 ms
Total tests: run=1 (filtered)
Total test files: run=1/1 (filtered) failed=1
Result: FAILURE
OS: NetBSD 10.0 amd64
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other