# HG changeset patch # User Robert Stanca # Date 1459610172 -10800 # Node ID fc2268b9a07c685e96df966b3b5ea6add94a4496 # Parent 8699c89f3ae96e0526c6464c81ec797fa7bab667 py3: use absolute_import in silenttestrunner.py diff -r 8699c89f3ae9 -r fc2268b9a07c tests/silenttestrunner.py --- a/tests/silenttestrunner.py Sat Apr 02 18:15:04 2016 +0300 +++ b/tests/silenttestrunner.py Sat Apr 02 18:16:12 2016 +0300 @@ -1,4 +1,7 @@ -import unittest, sys, os +from __future__ import absolute_import +import unittest +import sys +import os def main(modulename): '''run the tests found in module, printing nothing when all tests pass''' diff -r 8699c89f3ae9 -r fc2268b9a07c tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Sat Apr 02 18:15:04 2016 +0300 +++ b/tests/test-check-py3-compat.t Sat Apr 02 18:16:12 2016 +0300 @@ -49,7 +49,6 @@ tests/readlink.py requires print_function tests/revlog-formatv0.py not using absolute_import tests/run-tests.py not using absolute_import - tests/silenttestrunner.py not using absolute_import tests/silenttestrunner.py requires print_function tests/sitecustomize.py not using absolute_import tests/svn-safe-append.py not using absolute_import