Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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: http://code.djangoproject.com/svn/django/trunk@10248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 78b5c65844a53a72bda6efad5aac33dbf90a929c 1 parent a018eb4
@kmtracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/testcases.py
View
2  django/test/testcases.py
@@ -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):
return
def disable_transaction_methods():
Please sign in to comment.
Something went wrong with that request. Please try again.