diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-04-03 13:11:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 13:11:36 (GMT) |
commit | ea94b3b149eeadf33c2f7c46f16dcda0adc7cf4e (patch) | |
tree | 7fc58f8dcd7513427c7ea2ff9d7bad523be1118a /Lib/test/test_tools | |
parent | 2ec6bb4111d2c03c1cac02b27c74beee7e5a2a05 (diff) | |
download | cpython-ea94b3b149eeadf33c2f7c46f16dcda0adc7cf4e.zip cpython-ea94b3b149eeadf33c2f7c46f16dcda0adc7cf4e.tar.gz cpython-ea94b3b149eeadf33c2f7c46f16dcda0adc7cf4e.tar.bz2 |
gh-116303: Skip test module dependent tests if test modules are unavailable (#117341)
Diffstat (limited to 'Lib/test/test_tools')
-rw-r--r-- | Lib/test/test_tools/test_makefile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tools/test_makefile.py b/Lib/test/test_tools/test_makefile.py index 17a1a6d..29f5c28 100644 --- a/Lib/test/test_tools/test_makefile.py +++ b/Lib/test/test_tools/test_makefile.py @@ -35,6 +35,7 @@ class TestMakefile(unittest.TestCase): result.append(line.replace('\\', '').strip()) return result + @unittest.skipUnless(support.TEST_MODULES_ENABLED, "requires test modules") def test_makefile_test_folders(self): test_dirs = self.list_test_dirs() idle_test = 'idlelib/idle_test' |