X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fyacsloader_swig%2FTest%2FStdAloneYacsLoaderTest1.py;h=776c1e5b6fc84905728cb71df68b3c7de62c819a;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=d5df2d064eebcc3ead89b498a3c15ce0f4f95a0d;hpb=eda5485fe33a2c578536e7041134d0be8a1f5bb2;p=modules%2Fyacs.git diff --git a/src/yacsloader_swig/Test/StdAloneYacsLoaderTest1.py b/src/yacsloader_swig/Test/StdAloneYacsLoaderTest1.py index d5df2d064..776c1e5b6 100644 --- a/src/yacsloader_swig/Test/StdAloneYacsLoaderTest1.py +++ b/src/yacsloader_swig/Test/StdAloneYacsLoaderTest1.py @@ -1,4 +1,5 @@ -# Copyright (C) 2006-2019 CEA/DEN, EDF R&D +#!/usr/bin/env python3 +# Copyright (C) 2006-2023 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -291,6 +292,7 @@ print("PyScript0",entier) sortie_script="""import numpy as np assert(isinstance(resultats,np.ndarray)) +assert(resultats==np.array(range(1),dtype=np.int32)) """ nbWorkers=1