mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1070c57b83
commit
121d2e3678
106 changed files with 3841 additions and 1020 deletions
|
@ -1,9 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os, subprocess, sys, traceback
|
||||
import unittest
|
||||
|
||||
import django.contrib as contrib
|
||||
from django.utils import unittest
|
||||
|
||||
CONTRIB_DIR_NAME = 'django.contrib'
|
||||
MODEL_TESTS_DIR_NAME = 'modeltests'
|
||||
|
@ -256,7 +255,7 @@ def paired_tests(paired_test, options, test_labels):
|
|||
|
||||
print '***** Trying paired execution'
|
||||
|
||||
# Make sure the bisection point isn't in the test list
|
||||
# Make sure the constant member of the pair isn't in the test list
|
||||
# Also remove tests that need to be run in specific combinations
|
||||
for label in [paired_test, 'model_inheritance_same_model_name']:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue