diff --git a/examples/tests/cp_model_test.py b/examples/tests/cp_model_test.py old mode 100644 new mode 100755 index 75ecb55054..70a86198a5 --- a/examples/tests/cp_model_test.py +++ b/examples/tests/cp_model_test.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Tests for ortools.sat.python.cp_model.""" import unittest diff --git a/examples/tests/dual_loading.py b/examples/tests/dual_loading.py old mode 100644 new mode 100755 index 7c24267424..f31e87fc52 --- a/examples/tests/dual_loading.py +++ b/examples/tests/dual_loading.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ortools.constraint_solver import pywrapcp from ortools.linear_solver import pywraplp diff --git a/examples/tests/issue117.py b/examples/tests/issue117.py old mode 100644 new mode 100755 index b3f3878a3c..68ec9d59a4 --- a/examples/tests/issue117.py +++ b/examples/tests/issue117.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from collections import namedtuple from ortools.constraint_solver import pywrapcp diff --git a/examples/tests/issue1231.py b/examples/tests/issue1231.py old mode 100644 new mode 100755 index 536ceed47e..986596bb36 --- a/examples/tests/issue1231.py +++ b/examples/tests/issue1231.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010-2021 Google # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/tests/issue128.py b/examples/tests/issue128.py old mode 100644 new mode 100755 index f397c08e7d..b87f65c34a --- a/examples/tests/issue128.py +++ b/examples/tests/issue128.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ortools.constraint_solver import pywrapcp def test_v0(): diff --git a/examples/tests/issue2.py b/examples/tests/issue2.py old mode 100644 new mode 100755 index 0397738c74..c6d36b1da2 --- a/examples/tests/issue2.py +++ b/examples/tests/issue2.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ortools.constraint_solver import pywrapcp # Control-C test. Hit Control-C during execution of this program. diff --git a/examples/tests/issue260.py b/examples/tests/issue260.py old mode 100644 new mode 100755 index 65ccbd2262..7a78566873 --- a/examples/tests/issue260.py +++ b/examples/tests/issue260.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 #from ortools.constraint_solver import pywrapcp from ortools.sat.python import cp_model diff --git a/examples/tests/issue3.py b/examples/tests/issue3.py old mode 100644 new mode 100755 index bad970eb22..c74b1853db --- a/examples/tests/issue3.py +++ b/examples/tests/issue3.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010 Pierre Schaus pschaus@gmail.com # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/examples/tests/issue4.py b/examples/tests/issue4.py old mode 100644 new mode 100755 index 6dc1e36c59..870328ad27 --- a/examples/tests/issue4.py +++ b/examples/tests/issue4.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ortools.constraint_solver import pywrapcp diff --git a/examples/tests/issue46.py b/examples/tests/issue46.py old mode 100644 new mode 100755 index 35c8dea9bb..bb50f92365 --- a/examples/tests/issue46.py +++ b/examples/tests/issue46.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010-2021 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/tests/issue5.py b/examples/tests/issue5.py old mode 100644 new mode 100755 index c82398eb36..d12a3e97c3 --- a/examples/tests/issue5.py +++ b/examples/tests/issue5.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010 Hakan Kjellerstrand hakank@bonetmail.com # # Licensed under the Apache License, Version 2.0 (the 'License'); diff --git a/examples/tests/issue62.py b/examples/tests/issue62.py old mode 100644 new mode 100755 index 3fb5fd872e..afb6e0b2ca --- a/examples/tests/issue62.py +++ b/examples/tests/issue62.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ortools.constraint_solver import pywrapcp diff --git a/examples/tests/lp_test.py b/examples/tests/lp_test.py old mode 100644 new mode 100755 index 3cb3a3f0c4..7e0a41e50b --- a/examples/tests/lp_test.py +++ b/examples/tests/lp_test.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010-2021 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/tests/pywrapcp_test.py b/examples/tests/pywrapcp_test.py old mode 100644 new mode 100755 diff --git a/examples/tests/pywrapinit_test.py b/examples/tests/pywrapinit_test.py old mode 100644 new mode 100755 diff --git a/examples/tests/pywraplp_test.py b/examples/tests/pywraplp_test.py old mode 100644 new mode 100755 diff --git a/examples/tests/pywraprouting_test.py b/examples/tests/pywraprouting_test.py old mode 100644 new mode 100755 diff --git a/examples/tests/sorted_interval_list_test.py b/examples/tests/sorted_interval_list_test.py old mode 100644 new mode 100755 diff --git a/examples/tests/test_cp_api.py b/examples/tests/test_cp_api.py old mode 100644 new mode 100755 index d6bc404abd..d9e8b6ce5f --- a/examples/tests/test_cp_api.py +++ b/examples/tests/test_cp_api.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright 2010-2021 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/tests/test_lp_api.py b/examples/tests/test_lp_api.py old mode 100644 new mode 100755 index 3d276d6723..e8c4087f3d --- a/examples/tests/test_lp_api.py +++ b/examples/tests/test_lp_api.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from google.protobuf import text_format from ortools.linear_solver import pywraplp from ortools.linear_solver import linear_solver_pb2 diff --git a/examples/tests/test_routing_api.py b/examples/tests/test_routing_api.py old mode 100644 new mode 100755 index e62e721b16..97bb30c867 --- a/examples/tests/test_routing_api.py +++ b/examples/tests/test_routing_api.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Various calls to CP api from python to verify they work. '''Test routing API'''