-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2014-2017 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2013-2017 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2017 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# classic use case of a job
import os
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import unittest
# job script
script_file = "myScript.py"
job_script_file = os.path.join(case_test_dir, script_file)
- script_text = """#! /usr/bin/env python
+ script_text = """#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# verify import salome
# job script
data_file = "in.txt"
script_file = "myEnvScript.py"
- script_text = """#! /usr/bin/env python
+ script_text = """#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import os,sys
# job script
script_file = "myTestScript.py"
- script_text = """#! /usr/bin/env python
+ script_text = """#! /usr/bin/env python3
# -*- coding: utf-8 -*-
in_f = open("in.txt", "r")
# job script
data_file = "in.txt"
script_file = "myEnvScript.py"
- script_text = """#! /usr/bin/env python
+ script_text = """#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import os,sys
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2017-2018 CEA/DEN, EDF R&D
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: utf-8 -*-
usage="""
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#