Skip to content

New test_termios fails on Alpinelinux #114492

@andypost

Description

@andypost

Bug report

Bug description:

As reported #81002 (comment) where the test was added

I'm upgrading Python in Alpinelinux to 3.11.7 and testing upgrade to 3.12.1 (both fails the same test)

Re-running test_termios in verbose mode (matching: test_tcgetattr) test_tcgetattr (test.test_termios.TestFunctions.test_tcgetattr) ... FAIL ====================================================================== FAIL: test_tcgetattr (test.test_termios.TestFunctions.test_tcgetattr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builds/alpine/aports/main/python3/src/Python-3.11.7/Lib/test/test_termios.py", line 42, in test_tcgetattr self.assertEqual(termios.tcgetattr(self.stream), attrs) AssertionError: Lists differ: [1280[227 chars]', b'P', b'\xed', b'\x1a', b'\xf7', b'*', b'z'[18 chars]'(']] != [1280[227 chars]', b'\x01', b'\x00', b'\x00', b'\x00', b' ', b[27 chars]d8']] First differing element 6: [b'\x[197 chars]', b'P', b'\xed', b'\x1a', b'\xf7', b'*', b'z'[17 chars]b'('] [b'\x[197 chars]', b'\x01', b'\x00', b'\x00', b'\x00', b' ', b[26 chars]xd8'] [1280, 5, 191, 35387, 15, 15, [b'\x03', b'\x1c', b'\x7f', b'\x15', b'\x04', b'\x00', b'\x01', b'\x00', b'\x11', b'\x13', b'\x1a', b'\x00', b'\x12', b'\x0f', b'\x17', b'\x16', b'\x00', b'\x00', b'\x00', b'|', b'\xdc', b'\xc9', b'\xe7', - b'P', - b'\xed', - b'\x1a', ? - + b'\x01', ? + + b'\x00', + b'\x00', + b'\x00', + b' ', + b'\xd5', + b'$', b'\xf7', + b'\xd8']] - b'*', - b'z', - b'd', - b'\xf7', - b'(']] ---------------------------------------------------------------------- Ran 1 test in 0.003s 

CPython versions tested on:

3.11, 3.12

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests 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