From 488bde25f34f1d3254ef3ddfdc48876cfd6ee6d5 Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Thu, 6 Sep 2018 15:58:40 +0530 Subject: [PATCH] Updated test script. Fixed syntax error (stupid me). --- moose-core/tests/python/test_difshells.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moose-core/tests/python/test_difshells.py b/moose-core/tests/python/test_difshells.py index 96c3a6be..f9f99c02 100644 --- a/moose-core/tests/python/test_difshells.py +++ b/moose-core/tests/python/test_difshells.py @@ -205,6 +205,6 @@ if __name__ == '__main__': header += ' difshell_' + str(i) + '_difbuff_' + str(j) assert np.isclose(res.mean(), 0.60599), \ 'Expected 0.60599, got %g' % np.mean(res) - assert np.std(res) == 1.9505, np.std( res ), \ + assert np.isclose(np.std(res), 1.9505), \ 'Expected 1.95053 got %g' % np.std(res) print( 'All done' ) -- GitLab