# HG changeset patch # User Robert Stanca # Date 2016-04-16 02:29:29 # Node ID 05cb9c6f310e433f0041d3fd57e6a503a54f4549 # Parent 8353d154a9bde6bfa1fe9ef7e4d2a8de3d9d8e2c py3: use absolute_import in killdaemons.py diff --git a/tests/killdaemons.py b/tests/killdaemons.py --- a/tests/killdaemons.py +++ b/tests/killdaemons.py @@ -1,6 +1,11 @@ #!/usr/bin/env python -import os, sys, time, errno, signal +from __future__ import absolute_import +import errno +import os +import signal +import sys +import time if os.name =='nt': import ctypes 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 @@ -41,7 +41,6 @@ i18n/polib.py not using absolute_import setup.py not using absolute_import tests/heredoctest.py requires print_function - tests/killdaemons.py not using absolute_import tests/md5sum.py not using absolute_import tests/mockblackbox.py not using absolute_import tests/printenv.py not using absolute_import