anatoly techtonik <techto...@gmail.com> added the comment:

> If you use Python 2.7 then the following at the end of the test module 
> enables the same command line features that David Murray pointed you to:
>
> if __name__ == '__main__':
>    unittest.main()

Unfortunately, test_httpservers.py from stdlib contains this code:

def test_main(verbose=None):
    try:
        cwd = os.getcwd()
        test_support.run_unittest(BaseHTTPServerTestCase,
                                SimpleHTTPServerTestCase,
                                CGIHTTPServerTestCase
                                )
    finally:
        os.chdir(cwd)

if __name__ == '__main__':
    test_main()

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9028>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to