File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function errget()
25
25
(pynew (t[]), pynew (v[]), pynew (b[]))
26
26
end
27
27
28
- errset (t:: Py ) = GC. @preserve y C. PyErr_SetNone (getptr (t))
28
+ errset (t:: Py ) = GC. @preserve t C. PyErr_SetNone (getptr (t))
29
29
errset (t:: Py , v:: Py ) = GC. @preserve t v C. PyErr_SetObject (getptr (t), getptr (v))
30
30
errset (t:: Py , v:: String ) = GC. @preserve t C. PyErr_SetString (getptr (t), v)
31
31
Original file line number Diff line number Diff line change
1
+ @testset " iter" begin
2
+ x1 = [1 ,2 ,3 ,4 ,5 ]
3
+ x2 = pyjl (x1)
4
+ x3 = pylist (x2)
5
+ x4 = pyconvert (Vector{Int}, x3)
6
+ @test x1 == x4
7
+ end
Original file line number Diff line number Diff line change @@ -9,4 +9,7 @@ Aqua.test_all(PythonCall)
9
9
@testset " concrete" begin
10
10
include (" concrete.jl" )
11
11
end
12
+ @testset " jlwrap" begin
13
+ include (" jlwrap.jl" )
14
+ end
12
15
end
You can’t perform that action at this time.
0 commit comments