<commit_before>import os
import numpy as np
import nibabel as nb
from nilearn._utils import testing

from nltools import analysis, simulator

def test_simulator():
    sim = simulator.Simulator()
    r = 10
    sigma = 1
    y = [0,1]
    n_reps = 10
    sim.create_data(y, sigma, reps = n_reps, output_dir = tmpdir)
    assert len(sim.data) == n_reps*len(y)

def test_predict_svm(tmpdir):
    sim = simulator.Simulator()
    r = 10
    sigma = .2<commit_msg>updated travis tests<commit_after>import os
import numpy as np
import nibabel as nb
# from nilearn._utils import testing

from nltools import analysis, simulator

def test_simulator(tmpdir):
    sim = simulator.Simulator()
    r = 10
    sigma = 1
    y = [0,1]
    n_reps = 10
    sim.create_data(y, sigma, reps = n_reps, output_dir = tmpdir)
    assert len(sim.data) == n_reps*len(y)

def test_predict_svm(tmpdir):
    sim = simulator.Simulator()
    r = 10
    sigma = .2
{'fraction_non_alphanumeric': 0.09753483386923902, 'fraction_numerical': 0.021436227224008574, 'mean_word_length': 3.2844036697247705, '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': '7224181', 'n_tokens_mistral': 362, 'n_tokens_neox': 333, 'n_words': 97}