Lines Matching refs:_test_pathname
803 def _test_pathname(self, path, cmp_path=None, dir=False):
828 self._test_pathname("foo")
829 self._test_pathname(os.path.join("foo", ".", "bar"))
830 self._test_pathname(os.path.join("foo", "..", "bar"))
831 self._test_pathname(os.path.join(".", "foo"))
832 self._test_pathname(os.path.join(".", "foo", "."))
833 self._test_pathname(os.path.join(".", "foo", ".", "bar"))
834 self._test_pathname(os.path.join(".", "foo", "..", "bar"))
835 self._test_pathname(os.path.join(".", "foo", "..", "bar"))
836 self._test_pathname(os.path.join("..", "foo"))
837 self._test_pathname(os.path.join("..", "foo", ".."))
838 self._test_pathname(os.path.join("..", "foo", ".", "bar"))
839 self._test_pathname(os.path.join("..", "foo", "..", "bar"))
841 self._test_pathname("foo" + os.sep + os.sep + "bar")
842 self._test_pathname("foo" + os.sep + os.sep, "foo", dir=True)
846 self._test_pathname("C:\\foo", "foo")
848 self._test_pathname("/foo", "foo")
849 self._test_pathname("///foo", "foo")