Skip to content

Commit 26ea616

Browse files
committed
chore(signature): swap order of arguments to compatible
Should be `implementation, interface_def`, not the other way around
1 parent a6d0c18 commit 26ea616

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ibis/backends/tests/test_signatures.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ def test_signatures(base_cls, method, backend_cls):
2323
base_sig = inspect.signature(getattr(base_cls, method))
2424
backend_sig = inspect.signature(getattr(backend_cls, method))
2525

26-
assert compatible(base_sig, backend_sig, check_annotations=False)
26+
# Usage is compatible(implementation_signature, defined_interface_signature, ...)
27+
assert compatible(backend_sig, base_sig, check_annotations=False)

0 commit comments

Comments
 (0)