diff --git a/pyqtgraph/tests/image_testing.py b/pyqtgraph/tests/image_testing.py index 8c46c789..fc4961e2 100644 --- a/pyqtgraph/tests/image_testing.py +++ b/pyqtgraph/tests/image_testing.py @@ -234,7 +234,7 @@ def assertImageMatch(im1, im2, minCorr=None, pxThreshold=50., def saveFailedTest(data, expect, filename): """Upload failed test images to web server to allow CI test debugging. """ - commit, error = runSubprocess(['git', 'rev-parse', 'HEAD']) + commit = runSubprocess(['git', 'rev-parse', 'HEAD']) name = filename.split('/') name.insert(-1, commit.strip()) filename = '/'.join(name)