mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Tools/scripts/reindent.py _is_ your friend
This commit is contained in:
parent
684364c646
commit
95a2a4ea70
5 changed files with 118 additions and 118 deletions
|
@ -86,12 +86,12 @@ class DumbDBMTestCase(unittest.TestCase):
|
|||
data = open(_fname + '.dir').read()
|
||||
data = data.replace('\n', '\r\n')
|
||||
open(_fname + '.dir', 'wb').write(data)
|
||||
|
||||
|
||||
f = dumbdbm.open(_fname)
|
||||
self.assertEqual(f['1'], 'hello')
|
||||
self.assertEqual(f['2'], 'hello2')
|
||||
|
||||
|
||||
|
||||
|
||||
def read_helper(self, f):
|
||||
keys = self.keys_helper(f)
|
||||
for key in self._dict:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue