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 b8c6ec9 commit 173542eCopy full SHA for 173542e
test/runtests.jl
@@ -310,6 +310,7 @@ const PyInt = pyversion < v"3" ? Int : Clonglong
310
end
311
setproperty!(py"A.B", "C", 2)
312
@test py"A.B.C" == 2
313
+ @test_deprecated keys(A)
314
315
# buffers
316
let b = PyCall.PyBuffer(pyutf8("test string"))
@@ -321,7 +322,7 @@ const PyInt = pyversion < v"3" ? Int : Clonglong
321
322
323
let o = PyObject(1+2im)
324
@test PyCall.hasproperty(o, :real) # replace by Base.hasproperty in the future
- @test :real in keys(o)
325
+ @test :real in propertynames(o)
326
@test o.real == 1
327
328
0 commit comments