Commit 51a20816 authored by Stefan Behnel's avatar Stefan Behnel

Fix deprecation warning in test.

parent c9997491
......@@ -4,7 +4,10 @@
import inspect
sig = inspect.Signature.from_function
try:
sig = inspect.Signature.from_callable
except AttributeError:
sig = inspect.Signature.from_function
def signatures_match(f1, f2):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment