diff --git a/django/test/testcases.py b/django/test/testcases.py index e7677124690..4b19dfdbf22 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -544,7 +544,6 @@ class TransactionTestCase(ut2.TestCase): if func is None: return context - # Basically emulate the `with` statement here. with context: func(*args, **kwargs)