diff --git a/qtpy/tests/test_compat.py b/qtpy/tests/test_compat.py index e02c0b37..3a7d4652 100644 --- a/qtpy/tests/test_compat.py +++ b/qtpy/tests/test_compat.py @@ -33,5 +33,5 @@ def test_getimagebytes(qtbot): painter = QPainter(image) painter.setBrush(QBrush(Qt.black)) painter.fillRect(QRectF(0, 0, 100, 100), Qt.black) - bytes = compat.getimagebytes(image) - assert len(bytes) == 100 * 100 * 4 + _bytes = compat.getimagebytes(image) + assert len(_bytes) == 100 * 100 * 4