<commit_before>"""Tests for the main tournament class."""

import axelrod
import logging
import multiprocessing
import unittest
import random

from hypothesis import given, example, settings
from hypothesis.strategies import integers, lists, sampled_from, random_module, assume

try:
    # Python 3
    from unittest.mock import MagicMock
except ImportError:
    # Python 2
    from mock import MagicMock

test_strategies = [axelrod.Cooperator,
                   axelrod.TitForTat,
                   axelrod.Defector,
                   axelrod.Grudger,
                   axelrod.GoByMajority]
test_repetitions = 5
test_turns = 100


class TestTournament(unittest.TestCase):

    @classmethod
    def setUpClass(cls):<commit_msg>Removing assume.<commit_after>"""Tests for the main tournament class."""

import axelrod
import logging
import multiprocessing
import unittest
import random

from hypothesis import given, example, settings
from hypothesis.strategies import integers, lists, sampled_from, random_module

try:
    # Python 3
    from unittest.mock import MagicMock
except ImportError:
    # Python 2
    from mock import MagicMock

test_strategies = [axelrod.Cooperator,
                   axelrod.TitForTat,
                   axelrod.Defector,
                   axelrod.Grudger,
                   axelrod.GoByMajority]
test_repetitions = 5
test_turns = 100


class TestTournament(unittest.TestCase):

    @classmethod
    def setUpClass(cls):
{'fraction_non_alphanumeric': 0.06031528444139822, 'fraction_numerical': 0.00822481151473612, 'mean_word_length': 3.0331491712707184, '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': '1350470', 'n_tokens_mistral': 441, 'n_tokens_neox': 400, 'n_words': 119}