We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d727e07 commit ab79641Copy full SHA for ab79641
test/JlWrap.jl
@@ -499,7 +499,7 @@ end
499
if Setup.devdeps
500
np = pyimport("numpy")
501
502
- numeric = pyjl(Float64[1, 2, 3])
+ numeric = pyjlarray(Float64[1, 2, 3])
503
numeric_array = numeric.__array__()
504
@test pyisinstance(numeric_array, np.ndarray)
505
@test pyconvert(Vector{Float64}, numeric_array) == [1.0, 2.0, 3.0]
@@ -509,7 +509,7 @@ end
509
numeric_data[1] = 42.0
510
@test pyconvert(Vector{Float64}, numeric_no_copy) == [42.0, 2.0, 3.0]
511
512
- string_array = pyjl(["a", "b"])
+ string_array = pyjlarray(["a", "b"])
513
string_result = string_array.__array__()
514
@test pyisinstance(string_result, np.ndarray)
515
@test pyconvert(Vector{String}, pybuiltins.list(string_result)) == ["a", "b"]
0 commit comments