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.
import M: f
1 parent a87ced5 commit 6629f29Copy full SHA for 6629f29
test/runtests.jl
@@ -1,6 +1,7 @@
1
using PyCall
2
using PyCall: hasproperty
3
using Test, Dates, Serialization
4
+using SparseArrays: SparseMatrixCSC, sparse, sprand
5
6
filter(f, itr) = collect(Iterators.filter(f, itr))
7
filter(f, d::AbstractDict) = Base.filter(f, d)
@@ -622,7 +623,6 @@ const PyInt = pyversion < v"3" ? Int : Clonglong
622
623
@test_throws ArgumentError float(pybuiltin("type"))
624
625
# sparse array conversion
- import SparseArrays: SparseMatrixCSC, sparse, sprand
626
S = sprand(10, 10, 0.2)
627
PyS = PyObject(S)
628
@test convert(SparseMatrixCSC, PyS) == S
0 commit comments