mirror of
https://github.com/python/cpython.git
synced 2025-09-17 14:16:02 +00:00
gh-131290: ensure that test files can be executed as standalone scripts (#131371)
--------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
2aab2db146
commit
292a7248cd
4 changed files with 39 additions and 8 deletions
|
@ -2546,4 +2546,5 @@ class TestColorized(unittest.TestCase):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
setup.setup_process()
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue