From: rnv Date: Thu, 22 Jun 2017 16:05:31 +0000 (+0300) Subject: Merge Python 3 porting. X-Git-Tag: V9_0_0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24a8ff3366a0b466bc2c05f64c6e38b15dfcaeda;p=modules%2Fparavis.git Merge Python 3 porting. --- 24a8ff3366a0b466bc2c05f64c6e38b15dfcaeda diff --cc test/VisuPrs/bugs/A5.py index 8fd805eb,c319c507..34933557 --- a/test/VisuPrs/bugs/A5.py +++ b/test/VisuPrs/bugs/A5.py @@@ -37,12 -38,14 +37,12 @@@ if tmp_dir == None tmp_dir = tempfile.mkdtemp() save_file = os.path.join(tmp_dir, "TimeStamps_save.hdf") - print "Save to file ", save_file + print("Save to file ", save_file) pvsimple.OpenDataFile(data_file) -myStudyManager.SaveAs(save_file, myStudy, 0) -myStudyManager.Close(myStudy) +myStudy.SaveAs(save_file, 0, 0) -openedStudy = myStudyManager.Open(data_file) -myStudyManager.Close(openedStudy) +myStudy.Open(data_file) os.remove(save_file)