<commit_before>"""Module containing tests for linux clipboard module"""
import sys
import os
import unittest
import subprocess
import time

sys.path.append(".")
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, parent_dir)
import mouse

send_keys_dir = os.path.join(parent_dir, r"linux")
sys.path.insert(0, send_keys_dir)
from pywinauto.keyboard import SendKeys, KeySequenceError, KeyAction
import clipboard

def _test_app():
    test_folder = os.path.join(os.path.dirname
                               (os.path.dirname
                                (os.path.dirname
                                 (os.path.abspath(__file__)))),
                               r"apps/SendKeysTester")
    return os.path.join(test_folder, r"send_keys_test_app")


class SendKeysTests(unittest.TestCase):
    """Unit tests for the linux clipboard module"""

    def setUp(self):
        """Start the application set some data and ensure the application is in the state we want it."""<commit_msg>fix import disable on windows<commit_after>"""Module containing tests for linux clipboard module"""

import sys
import os
import unittest
import subprocess
import time
if sys.platform != 'win32':
    sys.path.append(".")
    parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    sys.path.insert(0, parent_dir)
    import mouse

    send_keys_dir = os.path.join(parent_dir, r"linux")
    sys.path.insert(0, send_keys_dir)
    from pywinauto.keyboard import SendKeys
    import clipboard


def _test_app():
    test_folder = os.path.join(os.path.dirname
                               (os.path.dirname
                                (os.path.dirname
                                 (os.path.abspath(__file__)))),
                               r"apps/SendKeysTester")
    return os.path.join(test_folder, r"send_keys_test_app")


class SendKeysTests(unittest.TestCase):
    """Unit tests for the linux clipboard module"""

    def setUp(self):
        """Start the application set some data and ensure the application is in the state we want it."""
{'fraction_non_alphanumeric': 0.10219675262655205, 'fraction_numerical': 0.0028653295128939827, 'mean_word_length': 2.656195462478185, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4322145', 'n_tokens_mistral': 616, 'n_tokens_neox': 604, 'n_words': 156}