diff --git a/tools/rosunit/scripts/test_results_dir.py b/tools/rosunit/scripts/test_results_dir.py index 99e6d6d0..45dd6d96 100755 --- a/tools/rosunit/scripts/test_results_dir.py +++ b/tools/rosunit/scripts/test_results_dir.py @@ -38,5 +38,6 @@ test_results_dir.py simply prints the directory that rosunit/rostest results are stored in. """ -import roslib.rosenv -print roslib.rosenv.get_test_results_dir() +from __future__ import print_function +import rospkg +print(rospkg.get_test_results_dir())