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 421dc5e commit 1afe773Copy full SHA for 1afe773
test/JlWrap.jl
@@ -215,7 +215,7 @@
215
end
216
217
218
-@testitem "array" begin
+@testitem "array" setup=[Setup] begin
219
@testset "type" begin
220
@test pyis(pytype(pyjl(fill(nothing))), PythonCall.pyjlarraytype)
221
@test pyis(pytype(pyjl([1 2; 3 4])), PythonCall.pyjlarraytype)
@@ -314,8 +314,7 @@ end
314
@test pyjlvalue(y) == [1 2; 3 4]
315
316
@testset "__array__" begin
317
- devdeps = PythonCall.C.CTX.which == :CondaPkg
318
- if devdeps
+ if Setup.devdeps
319
np = pyimport("numpy")
320
321
numeric = pyjl(Float64[1, 2, 3])
@@ -347,7 +346,7 @@ end
347
346
sprint(showerror, err),
348
)
349
else
350
- @test_skip devdeps
+ @test_skip Setup.devdeps
351
352
353
@testset "array_interface" begin
0 commit comments