<commit_before># this test has a malloc problem on OS/2+EMX, so skip test in that environment

import sys
from test_support import TestFailed, TestSkipped

REPS = 65580

if sys.platform == "os2emx":
    raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
else:
    l = eval("[" + "2," * REPS + "]")
    print len(l)<commit_msg>Tim_one's change to aggressively overallocate nodes when adding child nodes (in Parser/node.c) resolves the gross memory consumption exhibited by the EMX runtime on OS/2, so the test should be exercised on this platform.<commit_after>
REPS = 65580

l = eval("[" + "2," * REPS + "]")
print len(l)
{'fraction_non_alphanumeric': 0.10371517027863777, 'fraction_numerical': 0.02476780185758514, 'mean_word_length': 4.391666666666667, 'pattern_counts': {'":': 1, '<': 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': '1273157', 'n_tokens_mistral': 216, 'n_tokens_neox': 200, 'n_words': 84}