diff --git a/test/test_inference/test_buildout_detection.py b/test/test_inference/test_buildout_detection.py index 4817339d..01d56a78 100644 --- a/test/test_inference/test_buildout_detection.py +++ b/test/test_inference/test_buildout_detection.py @@ -80,4 +80,5 @@ def test_path_from_sys_path_assignment(Script): paths = check_module_test(Script, code) assert 1 not in paths - assert '/home/test/.buildout/eggs/important_package.egg' in map(str, paths) + assert os.path.abspath('/home/test/.buildout/eggs/important_package.egg') \ + in map(str, paths)