<commit_before>import fudge
import django
from django.utils import unittest
from django.core.cache import cache
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User, Permission

from armstrong.apps.embeds.models import Backend, Embed
from armstrong.apps.embeds.forms import EmbedForm<commit_msg>testing - fix "RemovedInDjango19Warning: django.utils.unittest will be removed in Django 1.9" and Tox/TravisCI are already installing unittest2 in PY26<commit_after>import fudge
import django

try:
    import unittest2 as unittest  # PY26, test env will install this
except ImportError:  # pragma: no cover
    import unittest

from django.core.cache import cache
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User, Permission

from armstrong.apps.embeds.models import Backend, Embed
from armstrong.apps.embeds.forms import EmbedForm
{'fraction_non_alphanumeric': 0.0565410199556541, 'fraction_numerical': 0.011086474501108648, 'mean_word_length': 5.496402877697841, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3985631', 'n_tokens_mistral': 264, 'n_tokens_neox': 256, 'n_words': 90}