summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_lib2to3.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-04-01 12:46:02 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-04-01 12:46:02 (GMT)
commit8820f2a979806d4e8966a809052870f8f895b2f4 (patch)
tree39c33b70b9ee9028c68072b13af37881f1212215 /Lib/test/test_lib2to3.py
parent8d2a90af2dd04877e5df4c12fd71e1ae86a3b7b9 (diff)
downloadcpython-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_lib2to3.py')
-rw-r--r--Lib/test/test_lib2to3.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_lib2to3.py b/Lib/test/test_lib2to3.py
index beda695..161b9dd 100644
--- a/Lib/test/test_lib2to3.py
+++ b/Lib/test/test_lib2to3.py
@@ -13,3 +13,7 @@ def suite():
def test_main():
run_unittest(suite())
+
+
+if __name__ == '__main__':
+ test_main()