(self)
| 1668 | os_helper.rmtree(tempdir) |
| 1669 | |
| 1670 | def test_pathnames(self): |
| 1671 | self._test_pathname("foo") |
| 1672 | self._test_pathname(os.path.join("foo", ".", "bar")) |
| 1673 | self._test_pathname(os.path.join("foo", "..", "bar")) |
| 1674 | self._test_pathname(os.path.join(".", "foo")) |
| 1675 | self._test_pathname(os.path.join(".", "foo", ".")) |
| 1676 | self._test_pathname(os.path.join(".", "foo", ".", "bar")) |
| 1677 | self._test_pathname(os.path.join(".", "foo", "..", "bar")) |
| 1678 | self._test_pathname(os.path.join(".", "foo", "..", "bar")) |
| 1679 | self._test_pathname(os.path.join("..", "foo")) |
| 1680 | self._test_pathname(os.path.join("..", "foo", "..")) |
| 1681 | self._test_pathname(os.path.join("..", "foo", ".", "bar")) |
| 1682 | self._test_pathname(os.path.join("..", "foo", "..", "bar")) |
| 1683 | |
| 1684 | self._test_pathname("foo" + os.sep + os.sep + "bar") |
| 1685 | self._test_pathname("foo" + os.sep + os.sep, "foo", dir=True) |
| 1686 | |
| 1687 | def test_abs_pathnames(self): |
| 1688 | if sys.platform == "win32": |
nothing calls this directly
no test coverage detected