Skip to content

Commit e4e2587

Browse files
committed
test_compat.py: Don't shadow the "bytes" built in
1 parent 8d6241c commit e4e2587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qtpy/tests/test_compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def test_getimagebytes(qtbot):
3333
painter = QPainter(image)
3434
painter.setBrush(QBrush(Qt.black))
3535
painter.fillRect(QRectF(0, 0, 100, 100), Qt.black)
36-
bytes = compat.getimagebytes(image)
37-
assert len(bytes) == 100 * 100 * 4
36+
_bytes = compat.getimagebytes(image)
37+
assert len(_bytes) == 100 * 100 * 4

0 commit comments

Comments
 (0)