File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import tempfile
7
7
8
- from numpy .testing import assert_allclose , assert_array_equal
8
+ from numpy .testing import (assert_allclose , assert_almost_equal ,
9
+ assert_array_equal )
9
10
import numpy .ma .testutils as matest
10
11
import numpy as np
11
12
import datetime as datetime
12
13
import pytest
13
- from nose .tools import (assert_almost_equal )
14
14
15
15
import matplotlib .mlab as mlab
16
16
import matplotlib .cbook as cbook
@@ -2922,9 +2922,9 @@ def test_kde_bandwidth_method(self):
2922
2922
xs = np .linspace (- 7 , 7 , 51 )
2923
2923
kdepdf = gkde .evaluate (xs )
2924
2924
kdepdf2 = gkde2 .evaluate (xs )
2925
- assert_almost_equal ( kdepdf .all (), kdepdf2 .all () )
2925
+ assert kdepdf .all () == kdepdf2 .all ()
2926
2926
kdepdf3 = gkde3 .evaluate (xs )
2927
- assert_almost_equal ( kdepdf .all (), kdepdf3 .all () )
2927
+ assert kdepdf .all () == kdepdf3 .all ()
2928
2928
2929
2929
2930
2930
class Test_gaussian_kde_custom (object ):
You can’t perform that action at this time.
0 commit comments