Skip to content

Navigation Menu

Sign in
Sign up

4.16. Raw Bayer data captures - Example Code - Assertion Error #732

Open

Description

In the example script:
docs/examples/bayer_data.py At line 35: assert data[:4] == 'BRCM'
The Assertion Fails in Python 3.9.2

The Workaround I found for this: assert data[:4] == b'BRCM'

Apparently b'BRCM' and 'BRCM' Cannot be compared.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      AltStyle によって変換されたページ (->オリジナル) /