[Python-checkins] Remove non-existing tools from Sundry skiplist (#103991)

hauntsaninja webhook-mailer at python.org
Sat Apr 29 15:11:29 EDT 2023


https://github.com/python/cpython/commit/00e2c5960ea785e4659187335c29ab19df9298a4
commit: 00e2c5960ea785e4659187335c29ab19df9298a4
branch: main
author: Oleg Iarygin <oleg at arhadthedev.net>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2023-04-29T12:11:15-07:00
summary:

Remove non-existing tools from Sundry skiplist (#103991)

files:
M Lib/test/test_tools/test_sundry.py

diff --git a/Lib/test/test_tools/test_sundry.py b/Lib/test/test_tools/test_sundry.py
index 6a3dc12781b2..3177fafb84a6 100644
--- a/Lib/test/test_tools/test_sundry.py
+++ b/Lib/test/test_tools/test_sundry.py
@@ -1,4 +1,4 @@
-"""Tests for scripts in the Tools directory.
+"""Tests for scripts in the Tools/scripts directory.
 
 This file contains extremely basic regression tests for the scripts found in
 the Tools directory of a Python checkout or tarball which don't have separate
@@ -17,14 +17,7 @@ class TestSundryScripts(unittest.TestCase):
     # At least make sure the rest don't have syntax errors.  When tests are
     # added for a script it should be added to the allowlist below.
 
-    # scripts that have independent tests.
-    allowlist = ['reindent']
-    # scripts that can't be imported without running
-    denylist = ['make_ctype']
-    # denylisted for other reasons
-    other = ['2to3']
-
-    skiplist = denylist + allowlist + other
+    skiplist = ['2to3']
 
     # import logging registers "atfork" functions which keep indirectly the
     # logging module dictionary alive. Mock the function to be able to unload



More information about the Python-checkins mailing list