<commit_before>import unittest
import re
import os


class ImportLoadLibs(unittest.TestCase):
    """
    Test which libraries are loaded during importing ROOT
    """

    # The whitelist is a list of regex expressions that mark wanted libraries
    # Note that the regex has to result in an exact match with the library name.
    known_libs = [
            # libCore and dependencies
            'libCore',
            'libm',
            'liblz4',
            'liblzma',
            'libzstd',
            'libz',
            'libpthread',
            'libc',
            'libdl',
            'libpcre',
            # libCling and dependencies
            'libCling.*',
            'librt',
            'libncurses.*',
            'libtinfo', # by libncurses (on some older platforms)
            # libTree and dependencies
            'libTree',
            'libThread',
            'libRIO',
            'libNet',
            'libImt',
            'libMathCore',
            'libssl',
            'libcrypt.*', # by libssl
            'libtbb',
            # On centos7 libssl links against kerberos pulling in all dependencies below, removed with libssl1.1.0
            'libgssapi_krb5',
            'libkrb5',<commit_msg>[PyROOT] Add libxxhash to known libraries after import ROOT<commit_after>import unittest
import re
import os


class ImportLoadLibs(unittest.TestCase):
    """
    Test which libraries are loaded during importing ROOT
    """

    # The whitelist is a list of regex expressions that mark wanted libraries
    # Note that the regex has to result in an exact match with the library name.
    known_libs = [
            # libCore and dependencies
            'libCore',
            'libm',
            'liblz4',
            'libxxhash',
            'liblzma',
            'libzstd',
            'libz',
            'libpthread',
            'libc',
            'libdl',
            'libpcre',
            # libCling and dependencies
            'libCling.*',
            'librt',
            'libncurses.*',
            'libtinfo', # by libncurses (on some older platforms)
            # libTree and dependencies
            'libTree',
            'libThread',
            'libRIO',
            'libNet',
            'libImt',
            'libMathCore',
            'libssl',
            'libcrypt.*', # by libssl
            'libtbb',
            # On centos7 libssl links against kerberos pulling in all dependencies below, removed with libssl1.1.0
            'libgssapi_krb5',
            'libkrb5',
{'fraction_non_alphanumeric': 0.08896797153024912, 'fraction_numerical': 0.0055357848952155, 'mean_word_length': 1.5099206349206349, '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': '4555972', 'n_tokens_mistral': 698, 'n_tokens_neox': 682, 'n_words': 208}