From cde09dc5a4e26ec915598d6c85c4e331e7a9d14e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 3 Jul 2017 15:37:00 -0600 Subject: [PATCH] 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. --- remoto/tests/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.47.3