Skip to content

Screenshot utf-8 decode warnings when using pytest-xdist #108

@jsfehler

Description

@jsfehler

When a test fails, the following warning message is displayed in the console under the warnings summary:
Could not save screenshot: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte

However, the screenshot is still taken.

This issue does not occur if xdist is not used.

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