From 20a006fa87954bd9d131be917ce0187bdf5fc9b5 Mon Sep 17 00:00:00 2001 From: st-- Date: Sat, 5 May 2018 23:52:53 +0100 Subject: [PATCH] Copyright notes --- gpflow/__init__.py | 2 -- gpflow/expectations.py | 2 +- gpflow/features.py | 2 +- gpflow/kernels.py | 1 - gpflow/likelihoods.py | 2 -- gpflow/models/gplvm.py | 14 ++++++++++++++ gpflow/models/gpr.py | 2 -- gpflow/models/model.py | 2 -- gpflow/models/sgpr.py | 1 - gpflow/models/svgp.py | 1 - gpflow/models/vgp.py | 1 - gpflow/params/__init__.py | 2 -- gpflow/priors.py | 1 - gpflow/probability_distributions.py | 4 ++-- gpflow/quadrature.py | 14 +++++++++++++- gpflow/transforms.py | 2 -- tests/test_autoflow.py | 2 +- tests/test_conditionals.py | 2 +- tests/test_config.py | 2 +- tests/test_core.py | 2 +- tests/test_coregion.py | 2 +- tests/test_data_object.py | 2 +- tests/test_dataholders.py | 2 +- tests/test_expectations.py | 2 +- tests/test_features.py | 2 +- tests/test_gplvm.py | 2 +- tests/test_hmc.py | 2 +- tests/test_kerns.py | 2 +- tests/test_kldiv.py | 2 +- tests/test_likelihoods.py | 2 +- tests/test_logdensities.py | 2 +- tests/test_mean_functions.py | 2 +- tests/test_method_equivalence.py | 2 +- tests/test_methods.py | 2 +- tests/test_misc.py | 2 +- tests/test_model.py | 2 +- tests/test_notebooks.py | 2 +- tests/test_param.py | 2 +- tests/test_predict.py | 2 +- tests/test_priors.py | 2 +- tests/test_profiling.py | 2 +- tests/test_quadrature.py | 14 ++++++++++++++ tests/test_saver.py | 2 +- tests/test_session.py | 2 +- tests/test_transforms.py | 2 +- tests/test_triang.py | 2 +- tests/test_uncertain_conditional.py | 2 +- tests/test_variational.py | 2 +- 48 files changed, 76 insertions(+), 53 deletions(-) diff --git a/gpflow/__init__.py b/gpflow/__init__.py index 240264257..d85918c01 100644 --- a/gpflow/__init__.py +++ b/gpflow/__init__.py @@ -15,8 +15,6 @@ # flake8: noqa -from __future__ import absolute_import - from ._version import __version__ from ._settings import SETTINGS as settings diff --git a/gpflow/expectations.py b/gpflow/expectations.py index 300177772..2f18cdb0d 100644 --- a/gpflow/expectations.py +++ b/gpflow/expectations.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import functools import warnings diff --git a/gpflow/features.py b/gpflow/features.py index 4af820f08..75d3cfe53 100644 --- a/gpflow/features.py +++ b/gpflow/features.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. from abc import abstractmethod from functools import singledispatch diff --git a/gpflow/kernels.py b/gpflow/kernels.py index a8737689e..b61431673 100644 --- a/gpflow/kernels.py +++ b/gpflow/kernels.py @@ -14,7 +14,6 @@ # limitations under the License. -from __future__ import print_function, absolute_import from functools import reduce import warnings diff --git a/gpflow/likelihoods.py b/gpflow/likelihoods.py index 9fc10b2da..05b1b39f5 100644 --- a/gpflow/likelihoods.py +++ b/gpflow/likelihoods.py @@ -14,8 +14,6 @@ # limitations under the License. -from __future__ import absolute_import - import tensorflow as tf import numpy as np diff --git a/gpflow/models/gplvm.py b/gpflow/models/gplvm.py index ca5a59a20..e48beb303 100644 --- a/gpflow/models/gplvm.py +++ b/gpflow/models/gplvm.py @@ -1,3 +1,17 @@ +# Copyright 2016 the GPflow authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import tensorflow as tf import numpy as np diff --git a/gpflow/models/gpr.py b/gpflow/models/gpr.py index 834a26c5e..045149201 100644 --- a/gpflow/models/gpr.py +++ b/gpflow/models/gpr.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - -from __future__ import absolute_import import tensorflow as tf from .. import likelihoods diff --git a/gpflow/models/model.py b/gpflow/models/model.py index d00361a0f..721ad55f5 100755 --- a/gpflow/models/model.py +++ b/gpflow/models/model.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, absolute_import - import abc import numpy as np diff --git a/gpflow/models/sgpr.py b/gpflow/models/sgpr.py index 2cf0e4118..329df3c3e 100644 --- a/gpflow/models/sgpr.py +++ b/gpflow/models/sgpr.py @@ -13,7 +13,6 @@ # limitations under the License. -from __future__ import absolute_import import tensorflow as tf import numpy as np diff --git a/gpflow/models/svgp.py b/gpflow/models/svgp.py index 6858a802f..ea22b96ef 100644 --- a/gpflow/models/svgp.py +++ b/gpflow/models/svgp.py @@ -13,7 +13,6 @@ # limitations under the License. -from __future__ import absolute_import import tensorflow as tf import numpy as np diff --git a/gpflow/models/vgp.py b/gpflow/models/vgp.py index 7992e830d..af25133d2 100755 --- a/gpflow/models/vgp.py +++ b/gpflow/models/vgp.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import import tensorflow as tf import numpy as np diff --git a/gpflow/params/__init__.py b/gpflow/params/__init__.py index 8a532bde4..7af6cce5f 100644 --- a/gpflow/params/__init__.py +++ b/gpflow/params/__init__.py @@ -14,8 +14,6 @@ # flake8: noqa -from __future__ import absolute_import - from .parameter import Parameter from .dataholders import DataHolder from .dataholders import Minibatch diff --git a/gpflow/priors.py b/gpflow/priors.py index 04561a819..cd517ca5e 100644 --- a/gpflow/priors.py +++ b/gpflow/priors.py @@ -13,7 +13,6 @@ # limitations under the License. -from __future__ import absolute_import import tensorflow as tf import numpy as np diff --git a/gpflow/probability_distributions.py b/gpflow/probability_distributions.py index 035f51a4a..ed0df35f1 100644 --- a/gpflow/probability_distributions.py +++ b/gpflow/probability_distributions.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. # Eventually, it would be nice to not have to have our own classes for # proability distributions. The TensorFlow "distributions" framework would @@ -48,4 +48,4 @@ class MarkovGaussian(ProbabilityDistribution): """ def __init__(self, mu, cov): self.mu = mu # N+1 x D - self.cov = cov # 2 x (N+1) x D x D \ No newline at end of file + self.cov = cov # 2 x (N+1) x D x D diff --git a/gpflow/quadrature.py b/gpflow/quadrature.py index 19e2508a2..046735071 100644 --- a/gpflow/quadrature.py +++ b/gpflow/quadrature.py @@ -1,4 +1,16 @@ -from __future__ import print_function, absolute_import +# Copyright 2017-2018 the GPflow authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import itertools from collections import Iterable diff --git a/gpflow/transforms.py b/gpflow/transforms.py index 4a7528338..740467af4 100644 --- a/gpflow/transforms.py +++ b/gpflow/transforms.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import - import numpy as np import tensorflow as tf import itertools diff --git a/tests/test_autoflow.py b/tests/test_autoflow.py index 8191c8f4f..191503895 100644 --- a/tests/test_autoflow.py +++ b/tests/test_autoflow.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_conditionals.py b/tests/test_conditionals.py index 4bc0d5f9d..78ec00e29 100644 --- a/tests/test_conditionals.py +++ b/tests/test_conditionals.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_config.py b/tests/test_config.py index 9e908ce0a..0ae034a85 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. # pylint: disable=W0212 diff --git a/tests/test_core.py b/tests/test_core.py index 101bc9d34..113b8a58b 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_coregion.py b/tests/test_coregion.py index 3128fd351..e6280bfe6 100644 --- a/tests/test_coregion.py +++ b/tests/test_coregion.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf import numpy as np diff --git a/tests/test_data_object.py b/tests/test_data_object.py index 08d43ef28..54aeef0e0 100644 --- a/tests/test_data_object.py +++ b/tests/test_data_object.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_dataholders.py b/tests/test_dataholders.py index df6319c7d..fa1ec4f78 100644 --- a/tests/test_dataholders.py +++ b/tests/test_dataholders.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf import numpy as np diff --git a/tests/test_expectations.py b/tests/test_expectations.py index d166eb2b0..d3a1aa6ab 100644 --- a/tests/test_expectations.py +++ b/tests/test_expectations.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import numpy as np import tensorflow as tf diff --git a/tests/test_features.py b/tests/test_features.py index 1a7c478c0..9f91b691b 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import numpy as np import tensorflow as tf diff --git a/tests/test_gplvm.py b/tests/test_gplvm.py index 877f381a6..e5a212f1a 100644 --- a/tests/test_gplvm.py +++ b/tests/test_gplvm.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf import numpy as np diff --git a/tests/test_hmc.py b/tests/test_hmc.py index 32e319ef1..fb76bab68 100644 --- a/tests/test_hmc.py +++ b/tests/test_hmc.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_kerns.py b/tests/test_kerns.py index c4de949b5..4506f7f78 100644 --- a/tests/test_kerns.py +++ b/tests/test_kerns.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_kldiv.py b/tests/test_kldiv.py index 52abcf18a..3d6820f41 100644 --- a/tests/test_kldiv.py +++ b/tests/test_kldiv.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. # -*- coding: utf-8 -*- diff --git a/tests/test_likelihoods.py b/tests/test_likelihoods.py index 512b1bfeb..99924e547 100644 --- a/tests/test_likelihoods.py +++ b/tests/test_likelihoods.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import six import tensorflow as tf diff --git a/tests/test_logdensities.py b/tests/test_logdensities.py index 73846f64a..c9faeefac 100644 --- a/tests/test_logdensities.py +++ b/tests/test_logdensities.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import numpy as np from numpy.random import randn diff --git a/tests/test_mean_functions.py b/tests/test_mean_functions.py index 2b4bacbd3..debb16945 100644 --- a/tests/test_mean_functions.py +++ b/tests/test_mean_functions.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import itertools import tensorflow as tf diff --git a/tests/test_method_equivalence.py b/tests/test_method_equivalence.py index 57a9f5f29..7109fcf11 100644 --- a/tests/test_method_equivalence.py +++ b/tests/test_method_equivalence.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_methods.py b/tests/test_methods.py index 928179f5d..530d9980f 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_misc.py b/tests/test_misc.py index c9c995815..54fbb611b 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf import numpy as np diff --git a/tests/test_model.py b/tests/test_model.py index 83f6b6877..a56565903 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_notebooks.py b/tests/test_notebooks.py index 2dbe1e661..621ab4059 100644 --- a/tests/test_notebooks.py +++ b/tests/test_notebooks.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import traceback import sys diff --git a/tests/test_param.py b/tests/test_param.py index 8edf547ba..9ac7f1183 100644 --- a/tests/test_param.py +++ b/tests/test_param.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. # pylint: disable=E1123 diff --git a/tests/test_predict.py b/tests/test_predict.py index 7128ffa17..707e0b90a 100644 --- a/tests/test_predict.py +++ b/tests/test_predict.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf import numpy as np diff --git a/tests/test_priors.py b/tests/test_priors.py index 0ab2fc2f7..fff5d632f 100644 --- a/tests/test_priors.py +++ b/tests/test_priors.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_profiling.py b/tests/test_profiling.py index 8ef622337..f593c767e 100644 --- a/tests/test_profiling.py +++ b/tests/test_profiling.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import glob import os diff --git a/tests/test_quadrature.py b/tests/test_quadrature.py index b569b8e93..96e332e05 100644 --- a/tests/test_quadrature.py +++ b/tests/test_quadrature.py @@ -1,3 +1,17 @@ +# Copyright 2018 the GPflow authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import numpy as np import pytest import tensorflow as tf diff --git a/tests/test_saver.py b/tests/test_saver.py index 1f6a89891..3fe790913 100644 --- a/tests/test_saver.py +++ b/tests/test_saver.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import copy import os diff --git a/tests/test_session.py b/tests/test_session.py index 00e81108c..c903a21de 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. # pylint: disable=W0212 diff --git a/tests/test_transforms.py b/tests/test_transforms.py index e4b4ae415..d282eb267 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import warnings import tensorflow as tf diff --git a/tests/test_triang.py b/tests/test_triang.py index 7b0b746a4..70d17f152 100644 --- a/tests/test_triang.py +++ b/tests/test_triang.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf diff --git a/tests/test_uncertain_conditional.py b/tests/test_uncertain_conditional.py index 9d01085f9..5290c4e1b 100644 --- a/tests/test_uncertain_conditional.py +++ b/tests/test_uncertain_conditional.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. from collections import namedtuple diff --git a/tests/test_variational.py b/tests/test_variational.py index 53315c809..1e3f67f84 100644 --- a/tests/test_variational.py +++ b/tests/test_variational.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.from __future__ import print_function +# limitations under the License. import tensorflow as tf