<commit_before>__doc__ = u"""
    >>> print D
    {'answer': (42, 42)}
"""

D = {}

def foo(x):
    return x, x

cdef class Spam:
    answer = 42
    D['answer'] = foo(answer)<commit_msg>Py3 test fix<commit_after>__doc__ = u"""
    >>> print(D)
    {u'answer': (42, 42)}
"""

import sys
if sys.version_info[0] >= 3:
    __doc__ = __doc__.replace(u"u'", u"'")

D = {}

def foo(x):
    return x, x

cdef class Spam:
    answer = 42
    D[u'answer'] = foo(answer)
{'fraction_non_alphanumeric': 0.20217391304347826, 'fraction_numerical': 0.03260869565217391, 'mean_word_length': 2.9401709401709404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '7221786', 'n_tokens_mistral': 203, 'n_tokens_neox': 190, 'n_words': 48}