Lines Matching refs:_fname
15 _fname = test.support.TESTFN variable
36 for f in glob.glob(_fname + "*"):
50 f = dbm.open(_fname, 'n')
65 self.assertRaises(dbm.error, dbm.open, _fname)
68 f = dbm.open(_fname, 'c')
77 test.support.create_empty_file(_fname)
78 with dbm.open(_fname, 'n') as f:
83 f = dbm.open(_fname, 'c')
93 f = dbm.open(_fname, 'r')
105 f = dbm.open(_fname, 'r')
113 f = dbm.open(_fname, 'c')
125 f = dbm.open(_fname, 'r')
154 f = module.open(_fname, 'c')
156 self.assertEqual(name, self.dbm.whichdb(_fname))
158 f = module.open(_fname, 'w')
165 self.assertEqual(name, self.dbm.whichdb(_fname))
170 db_file = '{}_ndbm.db'.format(_fname)