Lines Matching defs:_test_pathname
1215 def _test_pathname(self, path, cmp_path=None, dir=False):
1274 self._test_pathname("foo")
1275 self._test_pathname(os.path.join("foo", ".", "bar"))
1276 self._test_pathname(os.path.join("foo", "..", "bar"))
1277 self._test_pathname(os.path.join(".", "foo"))
1278 self._test_pathname(os.path.join(".", "foo", "."))
1279 self._test_pathname(os.path.join(".", "foo", ".", "bar"))
1280 self._test_pathname(os.path.join(".", "foo", "..", "bar"))
1281 self._test_pathname(os.path.join(".", "foo", "..", "bar"))
1282 self._test_pathname(os.path.join("..", "foo"))
1283 self._test_pathname(os.path.join("..", "foo", ".."))
1284 self._test_pathname(os.path.join("..", "foo", ".", "bar"))
1285 self._test_pathname(os.path.join("..", "foo", "..", "bar"))
1287 self._test_pathname("foo" + os.sep + os.sep + "bar")
1288 self._test_pathname("foo" + os.sep + os.sep, "foo", dir=True)
1292 self._test_pathname("C:\\foo", "foo")
1294 self._test_pathname("/foo", "foo")
1295 self._test_pathname("///foo", "foo")