Skip to content

Commit 6f0221a

Browse files
author
Christopher Doris
committed
fix unbound args error
1 parent 28c7d88 commit 6f0221a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Convert/rules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ for N = 0:16
346346
end
347347
# Tuple with N elements plus Vararg
348348
@eval function pyconvert_rule_iterable(
349-
::Type{Tuple{$(Ts...),Vararg{V}}},
349+
::Type{Tuple{$(Ts...),V,Vararg{V}}},
350350
xs::Py,
351351
) where {$(Ts...),V}
352352
xs = pytuple(xs)

test/Aqua.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
@testitem "Aqua" begin
2-
# The unbound_args test fails on methods with signature like foo(::Type{Tuple{Vararg{V}}}) where V
3-
# Seems like a bug.
42
import Aqua
5-
Aqua.test_all(PythonCall, unbound_args = false)
3+
Aqua.test_all(PythonCall)
64
end

0 commit comments

Comments
 (0)