Home
last modified time | relevance | path

Searched refs:ABSTFN (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_posixpath.py18 ABSTFN = abspath(test_support.TESTFN) variable
26 found_backslash = '\\' in ABSTFN
206 self.assertIs(posixpath.ismount(ABSTFN), False)
208 os.mkdir(ABSTFN)
209 self.assertIs(posixpath.ismount(ABSTFN), False)
211 safe_rmdir(ABSTFN)
218 os.symlink("/", ABSTFN)
219 self.assertIs(posixpath.ismount(ABSTFN), False)
221 os.unlink(ABSTFN)
231 if path == ABSTFN:
[all …]
/external/python/cpython3/Lib/test/
Dtest_posixpath.py18 ABSTFN = abspath(support.TESTFN) variable
26 found_backslash = '\\' in ABSTFN
181 self.assertIs(posixpath.ismount(ABSTFN), False)
183 os.mkdir(ABSTFN)
184 self.assertIs(posixpath.ismount(ABSTFN), False)
186 safe_rmdir(ABSTFN)
198 os.symlink("/", ABSTFN)
199 self.assertIs(posixpath.ismount(ABSTFN), False)
201 os.unlink(ABSTFN)
211 if path == ABSTFN:
[all …]
Dtest_ntpath.py260 ABSTFN = ntpath.abspath(support.TESTFN)
261 open(ABSTFN, "wb").close()
262 self.addCleanup(support.unlink, ABSTFN)
263 self.addCleanup(support.unlink, ABSTFN + "1")
265 os.symlink(ABSTFN, ABSTFN + "1")
266 self.assertPathEqual(ntpath.realpath(ABSTFN + "1"), ABSTFN)
267 self.assertPathEqual(ntpath.realpath(os.fsencode(ABSTFN + "1")),
268 os.fsencode(ABSTFN))
273 ABSTFN = ntpath.abspath(support.TESTFN)
274 open(ABSTFN, "wb").close()
[all …]