зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
cad5dfda57
Коммит
ed545ba83e
|
@ -4,6 +4,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# 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 sys
|
||||||
import os
|
import os
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|
|
@ -39,8 +39,6 @@ py2:
|
||||||
- testing/mochitest
|
- testing/mochitest
|
||||||
- testing/mozharness
|
- testing/mozharness
|
||||||
- testing/raptor
|
- testing/raptor
|
||||||
- testing/remotecppunittests.py
|
|
||||||
- testing/runcppunittests.py
|
|
||||||
- testing/runtimes
|
- testing/runtimes
|
||||||
- testing/tools
|
- testing/tools
|
||||||
- testing/tps
|
- testing/tps
|
||||||
|
|
Загрузка…
Ссылка в новой задаче