diff --git a/Lib/test/test_tools/test_pathfix.py b/Lib/test/test_tools/test_pathfix.py index 5c0dd1d5a60..0c1aea72117 100644 --- a/Lib/test/test_tools/test_pathfix.py +++ b/Lib/test/test_tools/test_pathfix.py @@ -3,7 +3,11 @@ import subprocess import sys import unittest from test import support -from test.test_tools import import_tool, scriptsdir +from test.test_tools import import_tool, scriptsdir, skip_if_missing + + +# need Tools/script/ directory: skip if run on Python installed on the system +skip_if_missing() class TestPathfixFunctional(unittest.TestCase):