summaryrefslogtreecommitdiff
path: root/Lib/test/test_macpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_macpath.py')
-rw-r--r--Lib/test/test_macpath.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_macpath.py b/Lib/test/test_macpath.py
index b29ed4c02c..2c86c532c7 100644
--- a/Lib/test/test_macpath.py
+++ b/Lib/test/test_macpath.py
@@ -18,16 +18,6 @@ class MacPathTestCase(unittest.TestCase):
self.assertFalse(isabs(":foo:bar"))
self.assertFalse(isabs(":foo:bar:"))
-
- def test_commonprefix(self):
- commonprefix = macpath.commonprefix
- self.assertEqual(commonprefix(["home:swenson:spam", "home:swen:spam"]),
- "home:swen")
- self.assertEqual(commonprefix([":home:swen:spam", ":home:swen:eggs"]),
- ":home:swen:")
- self.assertEqual(commonprefix([":home:swen:spam", ":home:swen:spam"]),
- ":home:swen:spam")
-
def test_split(self):
split = macpath.split
self.assertEqual(split("foo:bar"),