• Home
  • Raw
  • Download

Lines Matching refs:_fname

16 _fname = os_helper.TESTFN  variable
22 os.unlink(_fname + ext)
38 with contextlib.closing(dumbdbm.open(_fname, 'c')) as f:
48 f = dumbdbm.open(_fname, 'c', 0o637)
60 st = os.stat(_fname + '.dat')
62 st = os.stat(_fname + '.dir')
66 f = dumbdbm.open(_fname)
74 with contextlib.closing(dumbdbm.open(_fname, 'w')) as f:
83 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
100 with contextlib.closing(dumbdbm.open(_fname)) as f:
104 with contextlib.closing(dumbdbm.open(_fname)) as f:
110 with contextlib.closing(dumbdbm.open(_fname)) as f:
113 with contextlib.closing(dumbdbm.open(_fname)) as f:
118 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
123 with contextlib.closing(dumbdbm.open(_fname)) as f:
126 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
135 with contextlib.closing(dumbdbm.open(_fname)) as f:
140 with io.open(_fname + '.dir', 'rb') as file:
146 with io.open(_fname + '.dir', 'wb') as file:
149 f = dumbdbm.open(_fname)
160 with contextlib.closing(dumbdbm.open(_fname, 'n')) as f:
176 with contextlib.closing(dumbdbm.open(_fname)) as f:
189 with contextlib.closing(dumbdbm.open(_fname)) as f:
195 with dumbdbm.open(_fname, 'c') as db:
198 with dumbdbm.open(_fname, 'r') as db:
205 f = dumbdbm.open(_fname, 'c')
227 with dumbdbm.open(_fname, 'n') as f:
231 with dumbdbm.open(_fname, 'n') as f:
235 with open(_fname + '.dir', 'w', encoding="utf-8") as stream:
239 with dumbdbm.open(_fname) as f:
247 dumbdbm.open(_fname, value)
248 self.assertFalse(os.path.exists(_fname + '.dir'))
249 self.assertFalse(os.path.exists(_fname + '.bak'))
252 with dumbdbm.open(_fname, 'n') as f:
254 os.unlink(_fname + '.dir')
257 dumbdbm.open(_fname, value)
258 self.assertFalse(os.path.exists(_fname + '.dir'))
259 self.assertFalse(os.path.exists(_fname + '.bak'))
266 dumbdbm.open(_fname, flag)