Skip to content

Commit 0eed888

Browse files
oscargusLarsAsplund
authored andcommitted
Replace inspect method removed in Python 3.11
1 parent b828c33 commit 0eed888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vunit/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def call_pre_config(self, output_path, simulator_output_path):
145145
if self.pre_config is None:
146146
return True
147147

148-
args = inspect.getargspec(self.pre_config).args # pylint: disable=deprecated-method
148+
args = inspect.getfullargspec(self.pre_config).args
149149

150150
kwargs = {
151151
"output_path": output_path,
@@ -165,7 +165,7 @@ def call_post_check(self, output_path, read_output):
165165
if self.post_check is None:
166166
return True
167167

168-
args = inspect.getargspec(self.post_check).args # pylint: disable=deprecated-method
168+
args = inspect.getfullargspec(self.post_check).args
169169

170170
kwargs = {"output_path": lambda: output_path, "output": read_output}
171171

0 commit comments

Comments
 (0)