Skip to content

Commit 6629f29

Browse files
committed
Don't use import M: f
1 parent a87ced5 commit 6629f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using PyCall
22
using PyCall: hasproperty
33
using Test, Dates, Serialization
4+
using SparseArrays: SparseMatrixCSC, sparse, sprand
45

56
filter(f, itr) = collect(Iterators.filter(f, itr))
67
filter(f, d::AbstractDict) = Base.filter(f, d)
@@ -622,7 +623,6 @@ const PyInt = pyversion < v"3" ? Int : Clonglong
622623
@test_throws ArgumentError float(pybuiltin("type"))
623624

624625
# sparse array conversion
625-
import SparseArrays: SparseMatrixCSC, sparse, sprand
626626
S = sprand(10, 10, 0.2)
627627
PyS = PyObject(S)
628628
@test convert(SparseMatrixCSC, PyS) == S

0 commit comments

Comments
 (0)