Hi, kj wrote: > I want to write some tests for code that uses both urllib and > urllib2.
Take a look at the discussion under the title "How can one mock/stub python module like urllib" at stackoverflow: http://stackoverflow.com/questions/295438/how-can-one-mock-stub-python-module-like-urllib Lutz -- http://mail.python.org/mailman/listinfo/python-list