From 6df2db145bdcc7e541c71d5843d270ecebbd6143 Mon Sep 17 00:00:00 2001 From: rose <47357290+rose4096@users.noreply.github.com> Date: Fri, 20 May 2022 13:30:17 -0400 Subject: Increase coverage of architecture.py --- python/binaryview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/binaryview.py b/python/binaryview.py index fdd03f37..9ce51386 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -274,7 +274,7 @@ class AnalysisCompletionEvent: del self.__class__._pending_analysis_completion_events[id(self)] try: arg_offset = inspect.ismethod(self.callback) - callback_spec = inspect.getargspec(self.callback) + callback_spec = inspect.getfullargspec(self.callback) if len(callback_spec.args) > arg_offset: self.callback(self) # type: ignore else: -- cgit v1.3.1