Skip to content

Commit

Permalink
fix unbound args error
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Jan 20, 2025
1 parent 28c7d88 commit 6f0221a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Convert/rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ for N = 0:16
end
# Tuple with N elements plus Vararg
@eval function pyconvert_rule_iterable(
::Type{Tuple{$(Ts...),Vararg{V}}},
::Type{Tuple{$(Ts...),V,Vararg{V}}},
xs::Py,
) where {$(Ts...),V}
xs = pytuple(xs)
Expand Down
4 changes: 1 addition & 3 deletions test/Aqua.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@testitem "Aqua" begin
# The unbound_args test fails on methods with signature like foo(::Type{Tuple{Vararg{V}}}) where V
# Seems like a bug.
import Aqua
Aqua.test_all(PythonCall, unbound_args = false)
Aqua.test_all(PythonCall)
end

0 comments on commit 6f0221a

Please sign in to comment.