Open BlenderVali opened 1 year ago
In the example script: docs/examples/bayer_data.py At line 35: assert data[:4] == 'BRCM' The Assertion Fails in Python 3.9.2
docs/examples/bayer_data.py
assert data[:4] == 'BRCM'
The Workaround I found for this: assert data[:4] == b'BRCM'
assert data[:4] == b'BRCM'
Apparently b'BRCM' and 'BRCM' Cannot be compared.
b'BRCM'
'BRCM'
In the example script:
docs/examples/bayer_data.py
At line 35:assert data[:4] == 'BRCM'
The Assertion Fails in Python 3.9.2The Workaround I found for this:
assert data[:4] == b'BRCM'
Apparently
b'BRCM'
and'BRCM'
Cannot be compared.