From d6c6ed011fefeb2d27cf8891937f6b3f5f3e9f85 Mon Sep 17 00:00:00 2001 From: dave <dave@dtu.dk> Date: Wed, 6 Apr 2016 23:37:21 +0200 Subject: [PATCH] prepost.Simulations: try fix dict compare in test --- wetb/prepost/tests/test_Simulations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wetb/prepost/tests/test_Simulations.py b/wetb/prepost/tests/test_Simulations.py index 9d6ba1d0..6c411881 100644 --- a/wetb/prepost/tests/test_Simulations.py +++ b/wetb/prepost/tests/test_Simulations.py @@ -59,7 +59,7 @@ class TestGenerateInputs(unittest.TestCase): pkl_remote = pickle.load(FILE) with open(os.path.join(ref, 'remote.pkl'), 'rb') as FILE: pkl_ref = pickle.load(FILE) - self.assertEqual(pkl_remote, pkl_ref) + self.assertTrue(pkl_remote == pkl_ref) if __name__ == "__main__": -- GitLab