Update of /cvsroot/python/python/dist/src/Lib/test In directory usw-pr-cvs1:/tmp/cvs-serv4798 Modified Files: test_urlparse.py Log Message: Fix for 1.33: urlsplit() should only add '//' if scheme != ''. Will add test and backport. Index: test_urlparse.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_urlparse.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** test_urlparse.py 25 Sep 2002 19:20:12 -0000 1.7 --- test_urlparse.py 14 Oct 2002 19:59:54 -0000 1.8 *************** *** 28,32 **** def checkJoin(self, base, relurl, expected): ! self.assertEqual(urlparse.urljoin(base, relurl), expected) def test_RFC1808(self): --- 28,37 ---- def checkJoin(self, base, relurl, expected): ! self.assertEqual(urlparse.urljoin(base, relurl), expected, ! (base, relurl, expected)) ! ! def test_unparse_parse(self): ! for u in ['Python', './Python']: ! self.assertEqual(urlparse.urlunparse(urlparse.urlparse(u)), u) def test_RFC1808(self):
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4