<commit_before>import snsims
import pytest


def test_tesselations_abc():

    class NotTile(snsims.Tiling):
        pass
    with pytest.raises(Exception) as e:
            t = NotTile()
    assert e.typename == 'TypeError'
    assert e.value.message == "Can't instantiate abstract class NotTile with abstract methods __init__, area, pointingSequenceForTile, positions, tileIDSequence, tileIDsForSN"
<commit_msg>Fixed changed api of pytest in python3. change works on both py2&3 	modified:   tests/test_tesselations.py<commit_after>import snsims
import pytest


def test_tesselations_abc():

    class NotTile(snsims.Tiling):
        pass
    with pytest.raises(Exception) as e:
            t = NotTile()
    assert e.typename == 'TypeError'
    assert e.value.__str__() == "Can't instantiate abstract class NotTile with abstract methods __init__, area, pointingSequenceForTile, positions, tileIDSequence, tileIDsForSN"

{'fraction_non_alphanumeric': 0.08143322475570032, 'fraction_numerical': 0.003257328990228013, 'mean_word_length': 4.065934065934066, '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': '2237206', 'n_tokens_mistral': 281, 'n_tokens_neox': 276, 'n_words': 81}