diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-08 12:39:35 +0000 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-08 12:39:35 +0000 |
commit | 6f682be82b4ce2c64590fdc1255bd0b82d33b0f0 (patch) | |
tree | c9acb7a429f9df53130d4b1c876c2c24ecf1cfec /Lib/test/test_macpath.py | |
parent | fed15766f960b06bcb2bcedf6eca949f62106468 (diff) | |
download | cpython-git-6f682be82b4ce2c64590fdc1255bd0b82d33b0f0.tar.gz |
Move some tests from test_macpath to test_genericpath.CommonTest
Diffstat (limited to 'Lib/test/test_macpath.py')
-rw-r--r-- | Lib/test/test_macpath.py | 10 |
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"), |