Skip to content

Commit

Permalink
unbreak tests on Python 3, where dict.keys returns an iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Nov 5, 2015
1 parent b362318 commit 6d5b008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ let d = PyDict(@compat Dict(1 => "hello", 34 => "yes" ))
@test get(d.o, 1) == "hello"
set!(d.o, 34, "goodbye")
@test d[34] == "goodbye"
@test sort!(keys(Int, d)) == sort!(d.o[:keys]()) == sort!(collect(keys(d))) == [1, 34]
@test sort!(keys(Int, d)) == sort!(collect(d.o[:keys]())) == sort!(collect(keys(d))) == [1, 34]
end

@test roundtripeq(Any[1 2 3; 4 5 6])
Expand Down

0 comments on commit 6d5b008

Please sign in to comment.