summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_whichdb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-22 20:22:16 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-22 20:22:16 (GMT)
commitae4693129a49cf4ab9feff33c4658873e85f2083 (patch)
tree4818906e1fad09a3c63e7206977954c34532a106 /Lib/test/test_whichdb.py
parent9eee554bd9cff22eea0e39dd107576f0ef93e108 (diff)
downloadcpython-ae4693129a49cf4ab9feff33c4658873e85f2083.zip
cpython-ae4693129a49cf4ab9feff33c4658873e85f2083.tar.gz
cpython-ae4693129a49cf4ab9feff33c4658873e85f2083.tar.bz2
Standardize behavior: no docstrings in test functions.
Diffstat (limited to 'Lib/test/test_whichdb.py')
-rw-r--r--Lib/test/test_whichdb.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py
index 2f1a3a2..000c999 100644
--- a/Lib/test/test_whichdb.py
+++ b/Lib/test/test_whichdb.py
@@ -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()