<commit_before>import unittest
if not  hasattr(unittest.TestCase, 'assertIsInstance'):
    import unittest2 as unittest
from tkp.lofar.noise import ANTENNAE_PER_TILE
from tkp.lofar.noise import TILES_PER_CORE_STATION
from tkp.lofar.noise import TILES_PER_REMOTE_STATION
from tkp.lofar.noise import TILES_PER_INTL_STATION
from tkp.lofar.noise import Aeff_dipole

class TestHBAStationEffectiveArea(unittest.TestCase):
    """
    Values taken from table 2 of
    http://www.astron.nl/radio-observatory/astronomers/lofar-imaging-capabilities-sensitivity/sensitivity-lofar-array/sensiti"
    """
    known_values = {
        (120, 600, 1200, 2400),
        (150, 512, 1024, 2048),
        (180, 356, 711, 1422),
        (200, 288, 576, 1152),
        (210, 261, 522, 1045),
        (240, 200, 400, 800)
    }
    def test_known_values(self):<commit_msg>this now also works with python2.6<commit_after>import unittest
if not  hasattr(unittest.TestCase, 'assertIsInstance'):
    import unittest2 as unittest
from tkp.lofar.noise import ANTENNAE_PER_TILE
from tkp.lofar.noise import TILES_PER_CORE_STATION
from tkp.lofar.noise import TILES_PER_REMOTE_STATION
from tkp.lofar.noise import TILES_PER_INTL_STATION
from tkp.lofar.noise import Aeff_dipole

class TestHBAStationEffectiveArea(unittest.TestCase):
    """
    Values taken from table 2 of
    http://www.astron.nl/radio-observatory/astronomers/lofar-imaging-capabilities-sensitivity/sensitivity-lofar-array/sensiti"
    """
    known_values = (
        (120, 600, 1200, 2400),
        (150, 512, 1024, 2048),
        (180, 356, 711, 1422),
        (200, 288, 576, 1152),
        (210, 261, 522, 1045),
        (240, 200, 400, 800)
    )

    def test_known_values(self):
{'fraction_non_alphanumeric': 0.10290697674418604, 'fraction_numerical': 0.09534883720930233, 'mean_word_length': 3.702185792349727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4602079', 'n_tokens_mistral': 780, 'n_tokens_neox': 620, 'n_words': 136}