<commit_before>import os
import sys

OldPy = sys.version_info[0] == 2 and sys.version_info[1] < 7

class TestingConfig:
    """"
    TestingConfig - Information on the tests inside a suite.
    """

    @staticmethod
    def fromdefaults(litConfig):
        """
        fromdefaults(litConfig) -> TestingConfig

        Create a TestingConfig object with default values.
        """
        # Set the environment based on the command line arguments.
        environment = {
            'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''),
            'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
            'PATH' : os.pathsep.join(litConfig.path +
                                     [os.environ.get('PATH','')]),
            'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
            'TERM' : os.environ.get('TERM',''),
            'LLVM_DISABLE_CRASH_REPORT' : '1',
            }

        if sys.platform == 'win32':
            environment.update({
                    'INCLUDE' : os.environ.get('INCLUDE',''),
                    'PATHEXT' : os.environ.get('PATHEXT',''),
                    'PYTHONUNBUFFERED' : '1',
                    'TEMP' : os.environ.get('TEMP',''),<commit_msg>[lit] Forward LD_PRELOAD to tests.<commit_after>import os
import sys

OldPy = sys.version_info[0] == 2 and sys.version_info[1] < 7

class TestingConfig:
    """"
    TestingConfig - Information on the tests inside a suite.
    """

    @staticmethod
    def fromdefaults(litConfig):
        """
        fromdefaults(litConfig) -> TestingConfig

        Create a TestingConfig object with default values.
        """
        # Set the environment based on the command line arguments.
        environment = {
            'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''),
            'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
            'PATH' : os.pathsep.join(litConfig.path +
                                     [os.environ.get('PATH','')]),
            'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
            'TERM' : os.environ.get('TERM',''),
            'LLVM_DISABLE_CRASH_REPORT' : '1',
            'LD_PRELOAD' : os.environ.get('LD_PRELOAD',''),
            }

        if sys.platform == 'win32':
            environment.update({
                    'INCLUDE' : os.environ.get('INCLUDE',''),
                    'PATHEXT' : os.environ.get('PATHEXT',''),
                    'PYTHONUNBUFFERED' : '1',
                    'TEMP' : os.environ.get('TEMP',''),
{'fraction_non_alphanumeric': 0.14773183460457648, 'fraction_numerical': 0.006423123243677238, 'mean_word_length': 1.9352179034157833, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1185804', 'n_tokens_mistral': 759, 'n_tokens_neox': 743, 'n_words': 139}