A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-October/030206.html below:

[Python-checkins] python/dist/src/Lib/test test_urlparse.py,1.2.24.3,1.2.24.4

[Python-checkins] python/dist/src/Lib/test test_urlparse.py,1.2.24.3,1.2.24.4gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 14 Oct 2002 13:08:53 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv8066/test

Modified Files:
      Tag: release22-maint
	test_urlparse.py 
Log Message:
Backporting urlparse.py:1.34, test_urlparse.py:1.8:

Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
[SF bug 620705]


Index: test_urlparse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_urlparse.py,v
retrieving revision 1.2.24.3
retrieving revision 1.2.24.4
diff -C2 -d -r1.2.24.3 -r1.2.24.4
*** test_urlparse.py	7 Oct 2002 01:18:17 -0000	1.2.24.3
--- test_urlparse.py	14 Oct 2002 20:08:50 -0000	1.2.24.4
***************
*** 88,89 ****
--- 88,94 ----
  
  print errors, "errors"
+ 
+ # One more test backported from 2.3
+ for u in ['Python', './Python']:
+     if urlparse.urlunparse(urlparse.urlparse(u)) != u:
+         print "*** urlparse/urlunparse failure for", `u`





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