mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
This commit is contained in:
parent
16540408f4
commit
b992a0e102
84 changed files with 7 additions and 66 deletions
0
Tools/gdb/libpython.py
Normal file → Executable file
0
Tools/gdb/libpython.py
Normal file → Executable file
0
Tools/i18n/makelocalealias.py
Normal file → Executable file
0
Tools/i18n/makelocalealias.py
Normal file → Executable file
0
Tools/pybench/Setup.py
Normal file → Executable file
0
Tools/pybench/Setup.py
Normal file → Executable file
0
Tools/pybench/clockres.py
Normal file → Executable file
0
Tools/pybench/clockres.py
Normal file → Executable file
0
Tools/pybench/systimes.py
Normal file → Executable file
0
Tools/pybench/systimes.py
Normal file → Executable file
0
Tools/scripts/run_tests.py
Executable file → Normal file
0
Tools/scripts/run_tests.py
Executable file → Normal file
0
Tools/ssl/make_ssl_data.py
Normal file → Executable file
0
Tools/ssl/make_ssl_data.py
Normal file → Executable file
0
Tools/stringbench/stringbench.py
Executable file → Normal file
0
Tools/stringbench/stringbench.py
Executable file → Normal file
0
Tools/unicode/comparecodecs.py
Normal file → Executable file
0
Tools/unicode/comparecodecs.py
Normal file → Executable file
2
Tools/unittestgui/unittestgui.py
Normal file → Executable file
2
Tools/unittestgui/unittestgui.py
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
GUI framework and application for use with Python unit testing framework.
|
||||
Execute tests written using the framework provided by the 'unittest' module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue