mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Remove non-existing tools from Sundry skiplist (#103991)
This commit is contained in:
parent
85c7bf5bce
commit
00e2c5960e
1 changed files with 2 additions and 9 deletions
|
@ -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
|
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
|
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
|
# 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.
|
# added for a script it should be added to the allowlist below.
|
||||||
|
|
||||||
# scripts that have independent tests.
|
skiplist = ['2to3']
|
||||||
allowlist = ['reindent']
|
|
||||||
# scripts that can't be imported without running
|
|
||||||
denylist = ['make_ctype']
|
|
||||||
# denylisted for other reasons
|
|
||||||
other = ['2to3']
|
|
||||||
|
|
||||||
skiplist = denylist + allowlist + other
|
|
||||||
|
|
||||||
# import logging registers "atfork" functions which keep indirectly the
|
# import logging registers "atfork" functions which keep indirectly the
|
||||||
# logging module dictionary alive. Mock the function to be able to unload
|
# logging module dictionary alive. Mock the function to be able to unload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue