From 21d91c9e075604cb83ea1ae60971cc21545a6f67 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 23 Mar 2017 14:58:59 +0100 Subject: [PATCH] Just do it --- src/MEDLoader/Swig/MEDLoaderTest3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDLoader/Swig/MEDLoaderTest3.py b/src/MEDLoader/Swig/MEDLoaderTest3.py index 646b076a5..6738da924 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest3.py +++ b/src/MEDLoader/Swig/MEDLoaderTest3.py @@ -3138,7 +3138,7 @@ class MEDLoaderTest3(unittest.TestCase): # ffs=MEDFileFields(fname,False) heap_memory_ref=ffs.getHeapMemorySize() - self.assertIn(heap_memory_ref,xrange(5335,9031+(80+50+1)*strMulFac)) + self.assertIn(heap_memory_ref,xrange(5335,9031+(80+50+len(ffs))*strMulFac)) ffs.loadArrays() self.assertEqual(ffs.getHeapMemorySize()-heap_memory_ref,20*70*8*2+70*8*2+50*8*2) pass -- 2.39.2