Salome HOME
updated copyright message
[modules/yacs.git] / src / yacsloader_swig / Test / StdAloneYacsLoaderTest1.py
index d5df2d064eebcc3ead89b498a3c15ce0f4f95a0d..776c1e5b6fc84905728cb71df68b3c7de62c819a 100644 (file)
@@ -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