mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Add `if __name__ == '__main__'
` to some test files where it didn't take a lot
of effort to do so.
This commit is contained in:
parent
8d2a90af2d
commit
8820f2a979
4 changed files with 36 additions and 18 deletions
|
@ -13,3 +13,7 @@ def suite():
|
|||
|
||||
def test_main():
|
||||
run_unittest(suite())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue