Ignore style in tests, change import order

This commit is contained in:
Raphael Michel
2017-06-01 13:27:21 +02:00
parent 1261b8670f
commit bf5ea81b40
4 changed files with 8 additions and 8 deletions

View File

@@ -2,10 +2,9 @@ from django.db import DEFAULT_DB_ALIAS, connections
from django.test.utils import CaptureQueriesContext
# Inspired by /django/test/testcases.py
# but copied over to work without the unit test module
class _AssertNumQueriesContext(CaptureQueriesContext):
# Inspired by /django/test/testcases.py
# but copied over to work without the unit test module
def __init__(self, num, connection):
self.num = num
super(_AssertNumQueriesContext, self).__init__(connection)