# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2023 CEA/DEN, EDF R&D
+# Copyright (C) 2007-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
a=zeros(20,dtype=float32)
b = a[::-1]
self.assertRaises(InterpKernelException,DataArrayFloat.New,b) # b is not contiguous in memory
+ DataArrayFloat.New( ravel(b) )
pass
@unittest.skipUnless(MEDCouplingHasNumPyBindings(),"requires numpy")