Skip to content

Failing tests in Python, bytes object miss-interpretation #9

@merny93

Description

@merny93

When running make check while installing on ubuntu 22.04 LTS and python 3.10, ./big_test.py fails due to creation of bytes objects and comparison against strings.

n[ 278 ] = [b'one', b'two', b'three', b'four', b'five', b'six', b'seven'] expected ['one', 'two', 'three', 'four', 'five', 'six', 'seven']

A quick survey of the recent python changlogs does not point to anything so I am guessing this is a fairly old behavior.

Unclear if the current behavior is desired. If so the test should probably be updated, else results should be explicitly cast into string types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions