Skip to content

Commit

Permalink
bpo-37064: Skip test_tools.test_pathfix if installed (pythonGH-15705)
Browse files Browse the repository at this point in the history
If Python is installed, skip test_tools.test_pathfix test because
Tools/scripts/pathfix.py script is not installed.
  • Loading branch information
vstinner authored Sep 5, 2019
1 parent 2bc43cd commit 3f43cef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Lib/test/test_tools/test_pathfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
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):
Expand Down

0 comments on commit 3f43cef

Please sign in to comment.