Change the PyUnit-based tests to use the test_main() approach.  This
allows using the tests with unittest.py as a script.  The tests will
still run when run as a script themselves.
diff --git a/Lib/test/test_fnmatch.py b/Lib/test/test_fnmatch.py
index 9f08926..0bd7d6a 100644
--- a/Lib/test/test_fnmatch.py
+++ b/Lib/test/test_fnmatch.py
@@ -38,4 +38,9 @@
         check('\\', r'[!\]', 0)
 
 
-test_support.run_unittest(FnmatchTestCase)
+def test_main():
+    test_support.run_unittest(FnmatchTestCase)
+
+
+if __name__ == "__main__":
+    test_main()