Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Karen Tracey authored March 31, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/test/testcases.py
2  django/test/testcases.py
@@ -34,7 +34,7 @@ def to_list(value):
34 34
 real_savepoint_commit = transaction.savepoint_commit
35 35
 real_savepoint_rollback = transaction.savepoint_rollback
36 36
 
37  
-def nop(x=None):
  37
+def nop(*args, **kwargs):
38 38
     return
39 39
 
40 40
 def disable_transaction_methods():

0 notes on commit 78b5c65

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