From 2eedd7f385686c84561e15a04e309f3025b2ad0a Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Mon, 3 Nov 2014 15:12:24 +0000 Subject: [PATCH] [tests] pickle tests updated to new structure --- GPy/testing/pickle_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPy/testing/pickle_tests.py b/GPy/testing/pickle_tests.py index b541d21e..d6d6f923 100644 --- a/GPy/testing/pickle_tests.py +++ b/GPy/testing/pickle_tests.py @@ -141,6 +141,7 @@ class Test(ListDictTestCase): pcopy.optimize('bfgs') par.optimize('bfgs') np.testing.assert_allclose(pcopy.param_array, par.param_array, atol=1e-6) + par.randomize() with tempfile.TemporaryFile('w+b') as f: par.pickle(f) f.seek(0)