We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25c98cf commit 7b177a7Copy full SHA for 7b177a7
test/Core.jl
@@ -743,6 +743,7 @@ end
743
@test pyeq(Bool, l["x"], 4)
744
# check global code runs in global scope
745
pyexec("global y; y=x+1", g, l)
746
+ @test_throws PythonCall.PyException PythonCall.@pyexec (err = PythonCall.Core.pybuiltins.ValueError) => `raise err`
747
@test pyeq(Bool, g["y"], 5)
748
@test !pycontains(l, "y")
749
# check pyeval converts types correctly
0 commit comments