diff --git a/tests/test_frame.py b/tests/test_frame.py index 164aea86..35477244 100644 --- a/tests/test_frame.py +++ b/tests/test_frame.py @@ -171,7 +171,7 @@ def test_jpeg2000_rgb(self): pixel_representation=0, planar_configuration=0 ) - assert compressed_frame.startswith(b'\x00\x00\x00\x0C\x6A\x50\x20') + assert compressed_frame.startswith(b"\xFF\x4F\xFF\x51") assert compressed_frame.endswith(b'\xFF\xD9') decoded_frame = decode_frame( value=compressed_frame, @@ -198,7 +198,7 @@ def test_jpeg2000_monochrome(self): photometric_interpretation='MONOCHROME2', pixel_representation=0, ) - assert compressed_frame.startswith(b'\x00\x00\x00\x0C\x6A\x50\x20') + assert compressed_frame.startswith(b"\xFF\x4F\xFF\x51") assert compressed_frame.endswith(b'\xFF\xD9') decoded_frame = decode_frame( value=compressed_frame,