John J Lee <jj...@users.sourceforge.net> added the comment: A suitable test would be to derive a urllib.URLOpener subclass that has an open_spam(url) method which records the URL. Then call .open("spam://") in the test and verify that the URL has been quoted.
_______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue918368> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com