<commit_before>import os
import warnings

from expyfun._utils import _TempDir, tdt_test
from expyfun import ExperimentController

warnings.simplefilter('always')

tempdir = _TempDir()
std_args = ['test']
std_kwargs = dict(participant='foo', session='01', full_screen=False,
                  window_size=(1, 1))


def test_logging(ac='pyo'):
    """Test logging to file (Pyo)
    """
    os.chdir(tempdir)
    with ExperimentController(*std_args, audio_controller=ac,<commit_msg>tests pass<commit_after>import os
import warnings

from expyfun._utils import _TempDir, tdt_test
from expyfun import ExperimentController

warnings.simplefilter('always')

tempdir = _TempDir()
std_args = ['test']
std_kwargs = dict(participant='foo', session='01', full_screen=False,
                  window_size=(1, 1), verbose=True)


def test_logging(ac='pyo'):
    """Test logging to file (Pyo)
    """
    os.chdir(tempdir)
    with ExperimentController(*std_args, audio_controller=ac,
{'fraction_non_alphanumeric': 0.1197110423116615, 'fraction_numerical': 0.008255933952528379, 'mean_word_length': 4.950920245398773, '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': '4201456', 'n_tokens_mistral': 319, 'n_tokens_neox': 303, 'n_words': 71}