Skip to content

Commit

Permalink
Merge pull request statsmodels#1139 from jseabold/silence-tests
Browse files Browse the repository at this point in the history
TST: Silence tests
  • Loading branch information
jseabold committed Oct 23, 2013
2 parents b4cd27a + 1f941c1 commit 5b4c919
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion statsmodels/stats/tests/test_corrpsd.py
Expand Up @@ -129,7 +129,10 @@ def test_clipped(self):
def test_cov_nearest(self):
x = self.x
res_r = self.res
y = cov_nearest(x, method='nearest', threshold=1e-7)
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore")
y = cov_nearest(x, method='nearest', threshold=1e-7)
#print np.max(np.abs(x - y))
assert_almost_equal(y, res_r.mat, decimal=2)
d = norm_f(x, y)
Expand Down
2 changes: 1 addition & 1 deletion statsmodels/stats/tests/test_statstools.py
Expand Up @@ -76,7 +76,7 @@ def test_omni_normtest():

def test_omni_normtest_axis():
#test axis of omni_normtest
x = np.random.randn(15, 3)
x = np.random.randn(25, 3)
nt1 = omni_normtest(x)
nt2 = omni_normtest(x, axis=0)
nt3 = omni_normtest(x.T, axis=1)
Expand Down

0 comments on commit 5b4c919

Please sign in to comment.