[Python-3000-checkins] r58463 - python/branches/py3k/Lib/test/test_frozen.py

guido.van.rossum python-3000-checkins at python.org
Mon Oct 15 02:25:56 CEST 2007


Author: guido.van.rossum
Date: Mon Oct 15 02:25:56 2007
New Revision: 58463

Modified:
   python/branches/py3k/Lib/test/test_frozen.py
Log:
Make it possible to run this test stand-alone.


Modified: python/branches/py3k/Lib/test/test_frozen.py
==============================================================================
--- python/branches/py3k/Lib/test/test_frozen.py	(original)
+++ python/branches/py3k/Lib/test/test_frozen.py	Mon Oct 15 02:25:56 2007
@@ -38,3 +38,6 @@
 
 def test_main():
     run_unittest(FrozenTests)
+
+if __name__ == "__main__":
+    test_main()


More information about the Python-3000-checkins mailing list