Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fate-suite:
rsync -vrltLW rsync://fate-suite.ffmpeg.org/fate-suite/ tests/assets/fate-suite/

lint:
$(PIP) install -U ruff isort pillow numpy mypy==1.19.1 pytest
$(PIP) install -U ruff isort pillow numpy mypy==2.1.0 pytest
ruff format --check av examples tests setup.py
isort --check-only --diff av examples tests
mypy av tests
Expand Down
4 changes: 2 additions & 2 deletions tests/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ def test_data_stream(self) -> None:
# Verify we can read back all the packets, ignoring empty ones
packets = [p for p in container.demux(data) if bytes(p)]
assert len(packets) == len(test_data)
for packet, original_data in zip(packets, test_data):
assert bytes(packet) == original_data
for read_packet, original_data in zip(packets, test_data):
assert bytes(read_packet) == original_data

# Test string representation
repr = f"{data_stream}"
Expand Down
Loading