diff --git a/testing/remotecppunittests.py b/testing/remotecppunittests.py index 246561fa735e..0837a8c19620 100644 --- a/testing/remotecppunittests.py +++ b/testing/remotecppunittests.py @@ -4,6 +4,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +from __future__ import absolute_import, print_function import os import sys import subprocess diff --git a/testing/runcppunittests.py b/testing/runcppunittests.py index cfd7fd398cad..4123d1abced5 100755 --- a/testing/runcppunittests.py +++ b/testing/runcppunittests.py @@ -4,7 +4,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from __future__ import with_statement +from __future__ import absolute_import, print_function, with_statement import sys import os from optparse import OptionParser diff --git a/tools/lint/py2.yml b/tools/lint/py2.yml index c253f7f0a028..91d979f1441a 100644 --- a/tools/lint/py2.yml +++ b/tools/lint/py2.yml @@ -39,8 +39,6 @@ py2: - testing/mochitest - testing/mozharness - testing/raptor - - testing/remotecppunittests.py - - testing/runcppunittests.py - testing/runtimes - testing/tools - testing/tps