Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 89e4289

Browse files
authored
Merge pull request #105 from lesteve/fix-python3
[MRG] Get the tests passing on Python 3
2 parents dfb8586 + c4e33f6 commit 89e4289

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightning/impl/tests/test_penalty.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import numpy as np
2-
from sklearn.utils.testing import assert_almost_equal, assert_array_almost_equal
2+
3+
from sklearn.utils.testing import (assert_almost_equal,
4+
assert_array_almost_equal)
5+
from sklearn.externals.six.moves import xrange
36

47
from lightning.impl.penalty import project_l1_ball, project_simplex
58

0 commit comments

Comments
 (0)