Lines Matching refs:TESTFN
18 ABSTFN = abspath(test_support.TESTFN)
43 test_support.unlink(test_support.TESTFN + suffix)
44 safe_rmdir(test_support.TESTFN + suffix)
102 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
103 f = open(test_support.TESTFN + "1", "wb")
107 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
109 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2")
110 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
111 os.remove(test_support.TESTFN + "1")
112 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
113 self.assertIs(posixpath.exists(test_support.TESTFN + "2"), False)
114 self.assertIs(posixpath.lexists(test_support.TESTFN + "2"), True)
120 f = open(test_support.TESTFN + "1", "wb")
126 test_support.TESTFN + "1",
127 test_support.TESTFN + "1"
137 test_support.TESTFN + "1",
138 test_support.TESTFN + "2"
142 test_support.TESTFN + "1",
143 test_support.TESTFN + "2"
147 os.remove(test_support.TESTFN + "2")
148 f = open(test_support.TESTFN + "2", "wb")
153 test_support.TESTFN + "1",
154 test_support.TESTFN + "2"
163 f = open(test_support.TESTFN + "1", "wb")
169 os.stat(test_support.TESTFN + "1"),
170 os.stat(test_support.TESTFN + "1")
178 os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2")
181 os.stat(test_support.TESTFN + "1"),
182 os.stat(test_support.TESTFN + "2")
186 os.remove(test_support.TESTFN + "2")
187 f = open(test_support.TESTFN + "2", "wb")
192 os.stat(test_support.TESTFN + "1"),
193 os.stat(test_support.TESTFN + "2")