[Python-checkins] r78084 - in python/branches/release26-maint: Lib/test/test_posixpath.py

georg.brandl python-checkins at python.org
Sun Feb 7 14:05:51 CET 2010


Author: georg.brandl
Date: Sun Feb  7 14:05:51 2010
New Revision: 78084

Log:
Merged revisions 78080 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78080 | georg.brandl | 2010-02-07 13:55:12 +0100 (So, 07 Feb 2010) | 1 line
  
  Remove duplicate test method.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/test/test_posixpath.py

Modified: python/branches/release26-maint/Lib/test/test_posixpath.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_posixpath.py	(original)
+++ python/branches/release26-maint/Lib/test/test_posixpath.py	Sun Feb  7 14:05:51 2010
@@ -2,7 +2,7 @@
 from test import test_support
 
 import posixpath, os
-from posixpath import realpath, abspath, join, dirname, basename, relpath
+from posixpath import realpath, abspath, dirname, basename
 
 # An absolute path to a temporary filename for testing. We can't rely on TESTFN
 # being an absolute path, so we need this.
@@ -89,11 +89,6 @@
 
         self.assertRaises(TypeError, posixpath.isabs)
 
-    def test_splitdrive(self):
-        self.assertEqual(posixpath.splitdrive("/foo/bar"), ("", "/foo/bar"))
-
-        self.assertRaises(TypeError, posixpath.splitdrive)
-
     def test_basename(self):
         self.assertEqual(posixpath.basename("/foo/bar"), "bar")
         self.assertEqual(posixpath.basename("/"), "")


More information about the Python-checkins mailing list