mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Whitespace normalization.
This commit is contained in:
parent
15c1fe5047
commit
f733abb783
21 changed files with 128 additions and 128 deletions
|
|
@ -49,7 +49,7 @@ class DumbDBMTestCase(unittest.TestCase):
|
|||
f.close()
|
||||
finally:
|
||||
os.umask(old_umask)
|
||||
|
||||
|
||||
expected_mode = 0635
|
||||
if os.name != 'posix':
|
||||
# Windows only supports setting the read-only attribute.
|
||||
|
|
@ -61,7 +61,7 @@ class DumbDBMTestCase(unittest.TestCase):
|
|||
self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
||||
st = os.stat(_fname + '.dir')
|
||||
self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
||||
|
||||
|
||||
def test_close_twice(self):
|
||||
f = dumbdbm.open(_fname)
|
||||
f['a'] = 'b'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue