We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c3bd6 commit ff0f875Copy full SHA for ff0f875
tests/test_packet.py
@@ -119,7 +119,10 @@ def test_buffer_protocol(self) -> None:
119
assert bytes(sdata)[:4] == b"\xde\xad\xbe\xef"
120
121
pkt.set_sidedata(sdata)
122
- assert bytes(pkt.get_sidedata("new_extradata"))[:4] == b"\xde\xad\xbe\xef"
+ assert (
123
+ bytes(pkt.get_sidedata("new_extradata"))[:4]
124
+ == b"\xde\xad\xbe\xef"
125
+ )
126
return
127
128
raise AssertionError("No packet with new_extradata side data found")
@@ -157,4 +160,6 @@ def test_skip_samples_remux(self) -> None:
157
160
158
161
assert modified_samples - original_samples == 706
159
162
163
+ assert original_duration is not None
164
+ assert modified_duration is not None
165
assert modified_duration > original_duration
0 commit comments