mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue