diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-04-01 12:46:02 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-04-01 12:46:02 (GMT) |
| commit | 8820f2a979806d4e8966a809052870f8f895b2f4 (patch) | |
| tree | 39c33b70b9ee9028c68072b13af37881f1212215 /Lib/test/test_code.py | |
| parent | 8d2a90af2dd04877e5df4c12fd71e1ae86a3b7b9 (diff) | |
| download | cpython-8820f2a979806d4e8966a809052870f8f895b2f4.zip cpython-8820f2a979806d4e8966a809052870f8f895b2f4.tar.gz cpython-8820f2a979806d4e8966a809052870f8f895b2f4.tar.bz2 | |
Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot
of effort to do so.
Diffstat (limited to 'Lib/test/test_code.py')
| -rw-r--r-- | Lib/test/test_code.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ def test_main(verbose=None): from test.test_support import run_doctest from test import test_code run_doctest(test_code, verbose) + + +if __name__ == '__main__': + test_main() |
