Commits

Anonymous committed e35514a

Added main to test

Comments (0)

Files changed (1)

tests/patcher_test.py

 import sys
 import tempfile
 
-from tests import LimitedTestCase
+from tests import LimitedTestCase, main
 
 base_module_contents = """
 import socket
         self.assert_boolean_logic("patcher.monkey_patch(socket=False, "\
                                       "select=True)",
                                          'select')
+
+if __name__ == '__main__':
+    main()