(self)
| 112 | (filename + ext + b"/", b"")) |
| 113 | |
| 114 | def test_splitext(self): |
| 115 | self.splitextTest("foo.bar", "foo", ".bar") |
| 116 | self.splitextTest("foo.boo.bar", "foo.boo", ".bar") |
| 117 | self.splitextTest("foo.boo.biff.bar", "foo.boo.biff", ".bar") |
| 118 | self.splitextTest(".csh.rc", ".csh", ".rc") |
| 119 | self.splitextTest("nodots", "nodots", "") |
| 120 | self.splitextTest(".cshrc", ".cshrc", "") |
| 121 | self.splitextTest("...manydots", "...manydots", "") |
| 122 | self.splitextTest("...manydots.ext", "...manydots", ".ext") |
| 123 | self.splitextTest(".", ".", "") |
| 124 | self.splitextTest("..", "..", "") |
| 125 | self.splitextTest("........", "........", "") |
| 126 | self.splitextTest("", "", "") |
| 127 | |
| 128 | def test_splitroot(self): |
| 129 | f = posixpath.splitroot |
nothing calls this directly
no test coverage detected