From: Ken Dreyer Date: Mon, 3 Jul 2017 21:37:00 +0000 (-0600) Subject: tests: use absolute import for fake_module X-Git-Tag: v0.0.30~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cde09dc5a4e26ec915598d6c85c4e331e7a9d14e;p=remoto.git tests: use absolute import for fake_module Prior to this change, Python 3 raised an ImportError on the relative import here. Switch to an absolute import to resolve this. --- diff --git a/remoto/tests/test_connection.py b/remoto/tests/test_connection.py index ccd78ed..4332d44 100644 --- a/remoto/tests/test_connection.py +++ b/remoto/tests/test_connection.py @@ -2,7 +2,7 @@ import sys from mock import Mock, patch from py.test import raises from remoto import connection -import fake_module +from . import fake_module class FakeSocket(object):