Commit 3f43ceff authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-37064: Skip test_tools.test_pathfix if installed (GH-15705)

If Python is installed, skip test_tools.test_pathfix test because
Tools/scripts/pathfix.py script is not installed.
parent 2bc43cdc
...@@ -3,7 +3,11 @@ import subprocess ...@@ -3,7 +3,11 @@ import subprocess
import sys import sys
import unittest import unittest
from test import support 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): class TestPathfixFunctional(unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment