<commit_before>import unittest2
from .. import Bbox


class TileTest(unittest2.TestCase):
    def test_bbox(self):
        b = Bbox(1.2345678, -2.34, 3, 4)
        self.assertEqual('Bbox(+001.23457,-002.34000,+003.00000,+004.00000)', repr(b))
        self.assertEqual('+001.23457,-002.34000,+003.00000,+004.00000', str(b))
        self.assertEqual('Bbox(+001.23457,-002.34000,+003.00000,+004.00000)', repr(eval(repr(b))))

        self.assertDictEqual(Bbox(2,2,4,4).center, dict(lat=3.0, lon=3.0))<commit_msg>Bugfix for test<commit_after>import unittest2
from .. import Bbox


class TileTest(unittest2.TestCase):
    def test_bbox(self):
        b = Bbox(1.2345678, -2.34, 3, 4)
        self.assertEqual('Bbox(1.2345678,-2.34,3,4)', repr(b))
        self.assertEqual('1.2345678,-2.34,3,4', str(b))
        self.assertEqual('Bbox(1.2345678,-2.34,3,4)', repr(eval(repr(b))))

        self.assertDictEqual(Bbox(2,2,4,4).center, dict(lat=3.0, lon=3.0))
{'fraction_non_alphanumeric': 0.20147679324894516, 'fraction_numerical': 0.1909282700421941, 'mean_word_length': 3.8666666666666667, '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': '1856254', 'n_tokens_mistral': 491, 'n_tokens_neox': 378, 'n_words': 47}