Skip to content
Browse files

Fixed #10676 -- Make transaction nop routine used during testing acce…

…pt any args/kwargs it might be called with. Thanks seanl.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a018eb4 commit 78b5c65844a53a72bda6efad5aac33dbf90a929c @kmtracey kmtracey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/test/
2 django/test/
@@ -34,7 +34,7 @@ def to_list(value):
real_savepoint_commit = transaction.savepoint_commit
real_savepoint_rollback = transaction.savepoint_rollback
-def nop(x=None):
+def nop(*args, **kwargs):
def disable_transaction_methods():

0 comments on commit 78b5c65

Please sign in to comment.
Something went wrong with that request. Please try again.