[Python-checkins] CVS: python/dist/src/Lib/test test_ntpath.py,1.4,1.5
Skip Montanaro
python-dev@python.org
Wed, 23 Aug 2000 09:54:30 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv2879
Modified Files:
test_ntpath.py
Log Message:
added commonprefix test cases
Index: test_ntpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ntpath.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** test_ntpath.py 2000/08/14 23:06:37 1.4
--- test_ntpath.py 2000/08/23 16:54:27 1.5
***************
*** 38,41 ****
--- 38,47 ----
tester('ntpath.abspath("C:\\")', "C:\\")
+ tester('ntpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])',
+ "/home/swen")
+ tester('ntpath.commonprefix(["\\home\\swen\\spam", "\\home\\swen\\eggs"])',
+ "\\home\\swen\\")
+ tester('ntpath.commonprefix(["/home/swen/spam", "/home/swen/spam"])',
+ "/home/swen/spam")
if errors: