From 1e56fc62c2cdf8cc92f75a9bfe30fdb6b579ee87 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sun, 11 Oct 2015 01:26:03 +0100 Subject: [PATCH] Update pickle_tests.py --- GPy/testing/pickle_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/testing/pickle_tests.py b/GPy/testing/pickle_tests.py index 05bde22a..b01f31a6 100644 --- a/GPy/testing/pickle_tests.py +++ b/GPy/testing/pickle_tests.py @@ -66,7 +66,7 @@ class Test(ListDictTestCase): with f: pickle.dump(piov, f) - with open(f): + with f: pio2 = GPy.load(f) #py3 fix #self.assertListDictEquals(dict(piov.items()), dict(pio2.iteritems()))