]> granicus.if.org Git - python/commitdiff
Remove duplicate test method.
authorGeorg Brandl <georg@python.org>
Sun, 7 Feb 2010 12:55:12 +0000 (12:55 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 7 Feb 2010 12:55:12 +0000 (12:55 +0000)
Lib/test/test_posixpath.py

index cea4bd7d02a5f03ac5c291cb2c7b711a4a798849..60a043c5f1264e5ba84cce60ef4389cfc7578d73 100644 (file)
@@ -2,7 +2,7 @@ import unittest
 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 @@ class PosixPathTest(unittest.TestCase):
 
         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("/"), "")