[Python-checkins] CVS: python/dist/src/Lib/test test_ntpath.py,1.10,1.11

Tim Peters tim_one@users.sourceforge.net
Fri, 27 Jul 2001 01:09:56 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv9217/python/dist/src/Lib/test

Modified Files:
	test_ntpath.py 
Log Message:
One more crack at join():  stop trying to pretend this isn't a mass of
special cases.  test_pkg works again on Windows.


Index: test_ntpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ntpath.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_ntpath.py	2001/07/26 21:54:37	1.10
--- test_ntpath.py	2001/07/27 08:09:54	1.11
***************
*** 67,70 ****
--- 67,77 ----
  tester('ntpath.join("a", "b", "\\c")', '\\c')
  tester('ntpath.join("d:\\", "\\pleep")', 'd:\\pleep')
+ tester('ntpath.join("d:\\", "a", "b")', 'd:\\a\\b')
+ tester("ntpath.join('c:', '/a')", 'c:/a')
+ tester("ntpath.join('c:/', '/a')", 'c:/a')
+ tester("ntpath.join('c:/a', '/b')", '/b')
+ tester("ntpath.join('c:', 'd:/')", 'd:/')
+ tester("ntpath.join('c:/', 'd:/')", 'd:/')
+ tester("ntpath.join('c:/', 'd:/a/b')", 'd:/a/b')
  
  if errors: