From c85c62deda4018e48f5b1c71612708ccbee2352c Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Sat, 6 Feb 2021 16:50:35 +0800 Subject: [PATCH] getargspec -> getfullargspec former is deprecated since Python 3.0 --- pyqtgraph/tests/image_testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/tests/image_testing.py b/pyqtgraph/tests/image_testing.py index 1245bb02..1fcfeb53 100644 --- a/pyqtgraph/tests/image_testing.py +++ b/pyqtgraph/tests/image_testing.py @@ -603,7 +603,7 @@ def runSubprocess(command, return_code=False, **kwargs): if p.returncode != 0: print(output) err_fun = sp.CalledProcessError.__init__ - if 'output' in inspect.getargspec(err_fun).args: + if 'output' in inspect.getfullargspec(err_fun).args: raise sp.CalledProcessError(p.returncode, command, output) else: raise sp.CalledProcessError(p.returncode, command)