Skip to content

Commit c73eacb

Browse files
author
Christopher Doris
committed
simplify test for pydict(::Pair...)
1 parent a62e4bb commit c73eacb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/Core.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,7 @@ end
508508
@test pyeq(Bool, pydict(Dict("foo" => 1, "bar" => 2)), x)
509509
@test pyeq(Bool, pydict((foo = 1, bar = 2)), x)
510510
@test pyeq(Bool, pydict(x), x)
511-
y = pydict("foo" => 1, "bar" => 2)
512-
@test pyeq(Bool, pygetitem(y, "foo"), 1)
513-
@test pyeq(Bool, pygetitem(y, "bar"), 2)
514-
@test pyeq(Bool, x, y)
511+
@test pyeq(Bool, pydict("foo" => 1, "bar" => 2), x)
515512
end
516513

517514
@testitem "bool" begin

0 commit comments

Comments
 (0)