mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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
1 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue