<commit_before># This Python file uses the following encoding: utf-8
# see also: http://www.python.org/dev/peps/pep-0263/
import logging
from urlparse import urljoin
from xml.sax.saxutils import escape

from nose.tools import eq_, ok_
from nose.plugins.attrib import attr<commit_msg>bug 797472: Tweak to use jinja2.escape in tests<commit_after># This Python file uses the following encoding: utf-8
# see also: http://www.python.org/dev/peps/pep-0263/
import logging
from urlparse import urljoin
from jinja2 import escape

from nose.tools import eq_, ok_
from nose.plugins.attrib import attr
{'fraction_non_alphanumeric': 0.08135593220338982, 'fraction_numerical': 0.030508474576271188, 'mean_word_length': 4.851485148514851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, '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': '4799653', 'n_tokens_mistral': 195, 'n_tokens_neox': 184, 'n_words': 68}