mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
2bc43cdc01
commit
3f43ceff18
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue