Skip to content

test_check_nullbytes regressed on 3.11.4 #1151

Closed
@mweinelt

Description

@mweinelt

We've updated python311 from 3.11.3 to 3.11.4 and now the following test has regressed. Works fine on 3.10.12 though.

pycodestyle-aarch64-linux> FAIL: test_check_nullbytes (test_api.APITestCase.test_check_nullbytes)
pycodestyle-aarch64-linux> ----------------------------------------------------------------------
pycodestyle-aarch64-linux> Traceback (most recent call last):
pycodestyle-aarch64-linux>   File "/build/pycodestyle-2.10.0/testsuite/test_api.py", line 333, in test_check_nullbytes
pycodestyle-aarch64-linux>     self.assertTrue(stdout.startswith(expected),
pycodestyle-aarch64-linux> AssertionError: False is not true : Output 'stdin:1:1: E901 SyntaxError: source code string cannot contain null bytes\n' does not start with 'stdin:1:1: E901 ValueError'
pycodestyle-aarch64-linux> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions