<commit_before>import os
import json

import six

from ddt import ddt, data, file_data
from nose.tools import assert_equal, assert_is_not_none, assert_raises

from test.mycode import has_three_elements

try:
    from unittest import mock
except ImportError:
    import mock


@ddt
class Dummy(object):
    """
    Dummy class to test the data decorator on
    """
<commit_msg>Unconditionally use PyPI mock<commit_after>import os
import json

import six
import mock

from ddt import ddt, data, file_data
from nose.tools import assert_equal, assert_is_not_none, assert_raises

from test.mycode import has_three_elements


@ddt
class Dummy(object):
    """
    Dummy class to test the data decorator on
    """

{'fraction_non_alphanumeric': 0.05649717514124294, 'fraction_numerical': 0.0, 'mean_word_length': 4.371212121212121, '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': '1170376', 'n_tokens_mistral': 226, 'n_tokens_neox': 223, 'n_words': 80}