summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_macpath.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-03-07 11:04:33 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-03-07 11:04:33 (GMT)
commit05c075d629fc81035b438e3b146872dc7799f260 (patch)
tree4240955ee3ea5894d0c068c9669244a7200e768c /Lib/test/test_macpath.py
parentf08c073ded5a7cf5786f9a561e3d9529def81b6e (diff)
downloadcpython-05c075d629fc81035b438e3b146872dc7799f260.zip
cpython-05c075d629fc81035b438e3b146872dc7799f260.tar.gz
cpython-05c075d629fc81035b438e3b146872dc7799f260.tar.bz2
Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', '').
Diffstat (limited to 'Lib/test/test_macpath.py')
-rw-r--r--Lib/test/test_macpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_macpath.py b/Lib/test/test_macpath.py
index 3a3cf04..2449b0a 100644
--- a/Lib/test/test_macpath.py
+++ b/Lib/test/test_macpath.py
@@ -48,7 +48,7 @@ class MacPathTestCase(unittest.TestCase):
splitext = macpath.splitext
self.assertEquals(splitext(":foo.ext"), (':foo', '.ext'))
self.assertEquals(splitext("foo:foo.ext"), ('foo:foo', '.ext'))
- self.assertEquals(splitext(".ext"), ('', '.ext'))
+ self.assertEquals(splitext(".ext"), ('.ext', ''))
self.assertEquals(splitext("foo.ext:foo"), ('foo.ext:foo', ''))
self.assertEquals(splitext(":foo.ext:"), (':foo.ext:', ''))
self.assertEquals(splitext(""), ('', ''))