171171
172172@testitem " mapping → PyDict" begin
173173 x1 = pyconvert (PyDict, pydict ([1 => 11 , 2 => 22 , 3 => 33 ]))
174- @test x1 isa PyDict{Py,Py }
175- @test isequal (x1, Dict ([Py ( 1 ) => Py ( 11 ), Py ( 2 ) => Py ( 22 ), Py ( 3 ) => Py ( 33 ) ]))
174+ @test x1 isa PyDict{Any,Any }
175+ @test isequal (x1, Dict ([1 => 11 , 2 => 22 , 3 => 33 ]))
176176 x2 = pyconvert (PyDict{Int,Int}, pydict ([1 => 11 , 2 => 22 , 3 => 33 ]))
177177 @test x2 isa PyDict{Int,Int}
178178 @test x2 == Dict (1 => 11 , 2 => 22 , 3 => 33 )
@@ -189,17 +189,17 @@ end
189189
190190@testitem " sequence → PyList" begin
191191 x1 = pyconvert (PyList, pylist ([1 , 2 , 3 ]))
192- @test x1 isa PyList{Py }
193- @test isequal (x1, [Py ( 1 ), Py ( 2 ), Py ( 3 ) ])
192+ @test x1 isa PyList{Any }
193+ @test isequal (x1, [1 , 2 , 3 ])
194194 x2 = pyconvert (PyList{Int}, pylist ([1 , 2 , 3 ]))
195195 @test x2 isa PyList{Int}
196196 @test x2 == [1 , 2 , 3 ]
197197end
198198
199199@testitem " set → PySet" begin
200200 x1 = pyconvert (PySet, pyset ([1 , 2 , 3 ]))
201- @test x1 isa PySet{Py }
202- @test isequal (x1, Set ([Py ( 1 ), Py ( 2 ), Py ( 3 ) ]))
201+ @test x1 isa PySet{Any }
202+ @test isequal (x1, Set ([1 , 2 , 3 ]))
203203 x2 = pyconvert (PySet{Int}, pyset ([1 , 2 , 3 ]))
204204 @test x2 isa PySet{Int}
205205 @test x2 == Set ([1 , 2 , 3 ])
0 commit comments