mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Standardize behavior: no docstrings in test functions.
This commit is contained in:
parent
9eee554bd9
commit
ae4693129a
2 changed files with 17 additions and 18 deletions
|
@ -42,10 +42,9 @@ for name in anydbm._names:
|
|||
except ImportError:
|
||||
continue
|
||||
|
||||
def test_whichdb_name(self,name=name,mod=mod):
|
||||
"""Check whether whichdb correctly guesses module name
|
||||
for databases opened with module mod.
|
||||
"""
|
||||
def test_whichdb_name(self, name=name, mod=mod):
|
||||
# Check whether whichdb correctly guesses module name
|
||||
# for databases opened with module mod.
|
||||
f = mod.open(_fname, 'c')
|
||||
f["1"] = "1"
|
||||
f.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue