summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 12:55:12 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-07 12:55:12 (GMT)
commitb86d3fa43c0cb29c7c018c6a1e926163d7ebacf4 (patch)
treee89b6045853fd46045598ac5f08d0307cce0d0d4 /Lib
parent308e18b595a26be08d52987336ea321b05f17860 (diff)
downloadcpython-b86d3fa43c0cb29c7c018c6a1e926163d7ebacf4.zip
cpython-b86d3fa43c0cb29c7c018c6a1e926163d7ebacf4.tar.gz
cpython-b86d3fa43c0cb29c7c018c6a1e926163d7ebacf4.tar.bz2
Remove duplicate test method.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_posixpath.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index cea4bd7..60a043c 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -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("/"), "")