# HG changeset patch # User Robert Stanca # Date 2016-04-02 15:16:12 # Node ID fc2268b9a07c685e96df966b3b5ea6add94a4496 # Parent 8699c89f3ae96e0526c6464c81ec797fa7bab667 py3: use absolute_import in silenttestrunner.py diff --git a/tests/silenttestrunner.py b/tests/silenttestrunner.py --- a/tests/silenttestrunner.py +++ b/tests/silenttestrunner.py @@ -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 --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -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