summaryrefslogtreecommitdiff
path: root/Lib/bsddb/test/test_basics.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:00:19 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:00:19 +0000
commitd91085598f5185b267ea51a3f615da9527af2ed2 (patch)
tree80849b9455438e9963a61d7aff3fc3b060213553 /Lib/bsddb/test/test_basics.py
parentfe55464f393fc002fd0911a4d8dba6694723d408 (diff)
downloadcpython-git-d91085598f5185b267ea51a3f615da9527af2ed2.tar.gz
Remove apply()
Diffstat (limited to 'Lib/bsddb/test/test_basics.py')
-rw-r--r--Lib/bsddb/test/test_basics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index 24c4038870..7e8f835f4a 100644
--- a/Lib/bsddb/test/test_basics.py
+++ b/Lib/bsddb/test/test_basics.py
@@ -444,7 +444,7 @@ class BasicTestCase(unittest.TestCase):
print "attempting to use a closed cursor's %s method" % \
method
# a bug may cause a NULL pointer dereference...
- apply(getattr(c, method), args)
+ getattr(c, method)(*args)
except db.DBError, val:
assert val[0] == 0
if verbose: print val