commit | 8820f2a979806d4e8966a809052870f8f895b2f4 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Apr 01 12:46:02 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Apr 01 12:46:02 2008 +0000 |
tree | 39c33b70b9ee9028c68072b13af37881f1212215 | |
parent | 8d2a90af2dd04877e5df4c12fd71e1ae86a3b7b9 [diff] [blame] |
Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot of effort to do so.
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 4e68638..b69223d 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py
@@ -100,3 +100,7 @@ from test.test_support import run_doctest from test import test_code run_doctest(test_code, verbose) + + +if __name__ == '__main__': + test_main()